Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

If MockTransportService#addUnresponsiveRule adds a rule that drops
requests to a node then we must notify the rule on removal so that the
requests don't leak. Today we notify rules when removing them from a
specific address but not if clearing all rules. This commit addresses
that.

Closes #77751

If `MockTransportService#addUnresponsiveRule` adds a rule that drops
requests to a node then we must notify the rule on removal so that the
requests don't leak. Today we notify rules when removing them from a
specific address but not if clearing all rules. This commit addresses
that.

Closes elastic#77751
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Network Http and internode communication implementations v8.0.0 v7.16.0 v7.15.1 v7.14.3 labels Sep 15, 2021
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Sep 15, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@DaveCTurner
Copy link
Contributor Author

@elasticmachine please run elasticsearch-ci/packaging-tests-unix-sample

@DaveCTurner
Copy link
Contributor Author

Failure looks to be #77539.

@DaveCTurner
Copy link
Contributor Author

@elasticmachine please run elasticsearch-ci/part-1

@Tim-Brooks
Copy link
Contributor

I'll look at this today.

Copy link
Contributor

@henningandersen henningandersen 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 ad975ca into elastic:master Oct 25, 2021
@DaveCTurner DaveCTurner deleted the 2021-09-15-fix-testNodeNotReachableFromMaster branch October 25, 2021 13:32
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Oct 25, 2021
If `MockTransportService#addUnresponsiveRule` adds a rule that drops
requests to a node then we must notify the rule on removal so that the
requests don't leak. Today we notify rules when removing them from a
specific address but not if clearing all rules. This commit addresses
that.

Closes elastic#77751
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Oct 25, 2021
If `MockTransportService#addUnresponsiveRule` adds a rule that drops
requests to a node then we must notify the rule on removal so that the
requests don't leak. Today we notify rules when removing them from a
specific address but not if clearing all rules. This commit addresses
that.

Closes elastic#77751
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
7.16
7.15

elasticsearchmachine pushed a commit that referenced this pull request Oct 25, 2021
If `MockTransportService#addUnresponsiveRule` adds a rule that drops
requests to a node then we must notify the rule on removal so that the
requests don't leak. Today we notify rules when removing them from a
specific address but not if clearing all rules. This commit addresses
that.

Closes #77751
elasticsearchmachine pushed a commit that referenced this pull request Oct 25, 2021
If `MockTransportService#addUnresponsiveRule` adds a rule that drops
requests to a node then we must notify the rule on removal so that the
requests don't leak. Today we notify rules when removing them from a
specific address but not if clearing all rules. This commit addresses
that.

Closes #77751
@jakelandis jakelandis removed the v8.0.0 label Oct 27, 2021
lockewritesdocs pushed a commit to lockewritesdocs/elasticsearch that referenced this pull request Oct 28, 2021
If `MockTransportService#addUnresponsiveRule` adds a rule that drops
requests to a node then we must notify the rule on removal so that the
requests don't leak. Today we notify rules when removing them from a
specific address but not if clearing all rules. This commit addresses
that.

Closes elastic#77751
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Network Http and internode communication implementations Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v7.15.2 v7.16.0 v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] DiscoveryDisruptionIT testNodeNotReachableFromMaster failing

7 participants