-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix for race condition in node-join/node-left loop #15521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shwetathareja
merged 36 commits into
opensearch-project:main
from
rahulkarajgikar:race_condition_2
Sep 28, 2024
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
4d5c105
Add custom connect to node for handleJoinRequest + info logs + comments
85905ee
spotless apply and import cleanup
f3efb03
Update system.out to logger.info
f5fa846
Changes to mark disconnects as part of publish
2db5587
cleanup unused code and remove added log lines
12b89b4
Move all logic to transportService/ClusterConnectionManager as per co…
e8029c9
apply spotless
eb58389
remove log line
136aa4f
fix merge conflict
514ec9f
remove log line
c5bcafa
Additional check to fix UTs
dddeb0b
empty commit for gradle check rerun
38b1086
fix log
82748db
cleanup
ec9a007
rename variable names, update logs and comments
0964e0b
add changelog
a0f45b9
Address comments + minor changes
3c0ff58
fix targetsbynode logic
4555c79
fix tests instead of updating disconnectFromNodesExcept
6c963b4
Minor changes in IT
cba4b9b
empty commit for gradle check
47c1141
Add test for disconnect during node-left
36d84c7
fix spotless
678ebd0
Cleanup pendingDisconnection entries during cluster-manager failover
6aa25ee
Use NodeConnectionsService instead of transportService in Coordinator
a23214a
remove doc from IT
b761900
empty commit to rerun gradle check
36a300d
change debug logs to trace logs to remove noise
5cf7a51
add new tests and refactor existing tests
fff66e1
remove unused code
db3d23a
add assertions on exception message
a6a6c38
changes to tests based on comments
1ded2cc
empty commit
9a060cc
update nodeconnectionsservice test
7b0d28b
empty commit for gradle check
e0a0ae2
empty commit
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
355 changes: 355 additions & 0 deletions
355
server/src/internalClusterTest/java/org/opensearch/cluster/coordination/NodeJoinLeftIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.