Skip to content

Only call assertNotTransportThread if asserts on#44028

Merged
DaveCTurner merged 1 commit intoelastic:peer-recovery-retention-leasesfrom
DaveCTurner:2019-07-05-prrls-assert-the-asserts
Jul 8, 2019
Merged

Only call assertNotTransportThread if asserts on#44028
DaveCTurner merged 1 commit intoelastic:peer-recovery-retention-leasesfrom
DaveCTurner:2019-07-05-prrls-assert-the-asserts

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

In #44000 we introduced some calls to assertNotTransportThread that are
executed whether assertions are enabled or not. Although they have no effect if
assertions are disabled, we should have done it like this instead.

In elastic#44000 we introduced some calls to `assertNotTransportThread` that are
executed whether assertions are enabled or not. Although they have no effect if
assertions are disabled, we should have done it like this instead.
@DaveCTurner DaveCTurner added >non-issue :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. labels Jul 5, 2019
@DaveCTurner DaveCTurner requested a review from dnhatn July 5, 2019 19:10
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

Copy link
Copy Markdown
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

Copy link
Copy Markdown
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DaveCTurner DaveCTurner merged commit c5ed201 into elastic:peer-recovery-retention-leases Jul 8, 2019
DaveCTurner added a commit that referenced this pull request Jul 8, 2019
In #44000 we introduced some calls to `assertNotTransportThread` that are
executed whether assertions are enabled or not. Although they have no effect if
assertions are disabled, we should have done it like this instead.
@DaveCTurner DaveCTurner deleted the 2019-07-05-prrls-assert-the-asserts branch July 8, 2019 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. >non-issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants