forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Decommission controlled discovery/pr #49
Open
imRishN
wants to merge
88
commits into
decommission/pr
Choose a base branch
from
decommission-controlled-discovery/pr
base: decommission/pr
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
9b864e2
Add Executor to decommission node attribute
imRishN 6f188e8
Add DecommissionHelper
imRishN c57bc77
Decommission service implementation with metadata
imRishN d348085
Fixes
imRishN 9cccc44
Master abdication
imRishN 4923f0a
Fixes
imRishN 38c5930
Update join validator to validate decommissioned node join request
imRishN 42050fa
Clear voting config after decommissioning
imRishN 30dbfdc
Resolving comments
imRishN 52a8e6b
Fixes
imRishN 1561024
Fixes
imRishN 53057ac
Some refactpring
imRishN 5c2b91c
Updates
imRishN fc95ac3
Fix to abdication
imRishN ac9c372
Remove cluster state variable from service
imRishN 825092a
Log node string
imRishN 6a3157c
Fix conflict
imRishN 109459b
Changes in Service
imRishN 4cd06da
Fix spotless check
imRishN a28e6fd
Update the join validator for decommissioned attribute
imRishN 763f241
Add UTs for metadata
imRishN 1464bbb
Add UTs for JoinTaskExecutor changes
imRishN f3d49a3
Fix
imRishN fd0bbe8
Test files
imRishN efdad78
Move observer logic to helper
imRishN 48def4b
fix msg
imRishN 23f59b1
Move predicate to helper
imRishN d99dcac
test
imRishN 5ee6f44
Add UT
imRishN 20b465e
Add UT for DecommissionController
imRishN 3b5dd14
Improvements and UTs
imRishN 4fa02f0
Add UT
imRishN 447084f
Fix decommission initiation
imRishN 55238ee
Changes
imRishN 0d850a3
Move DecommissionAttributeMetadata to decommission package
imRishN a6e542d
Update exception name
imRishN 1b98cf5
Fix spotless and precommit checks
imRishN ebf7e6e
Update enum
imRishN c3755a2
Fix spotless and precommit checks
imRishN 9c7cd3f
Add package-info and Changelog
imRishN 0bb70e2
Add checks for quorum
imRishN d976865
Bug fix
imRishN ba5c572
Resolving PR comments
imRishN 5cc5c9c
Update awareness attribute decommission status check
imRishN a356e46
Update quorum loss check logic
imRishN 585c37c
Update status assertion and clear voting config for failed init
imRishN 406950a
Refactoring
imRishN 29013a9
Fix spotless check
imRishN 1e6a3ff
Resolve comments
imRishN 9006455
Fix spotless check
imRishN 985317d
Updating states and flow
imRishN c851909
Trigger exclusion after init
imRishN 798f0a2
Updates
imRishN 3fe2b66
Resolving comments
imRishN e24048d
Fixes
imRishN c4038d8
Fix spotless check
imRishN cba93d5
Resolve comments
imRishN 74769be
Precheck for retry
imRishN 9119cbd
Add logging
imRishN 807bd3a
Fix spotless check
imRishN ad4b227
Fix controller tests
imRishN 871784e
Fix Decommission Service test
imRishN f3cf714
Fix spotless check
imRishN a6619b5
Empty-Commit
imRishN 06048a8
Add getHistoryOperationsFromTranslog method to fetch the history snap…
ankitkala 3a1dbc8
Add package-info and Changelog
imRishN 418c079
Empty-Commit
imRishN ac28c4d
Address Comments
imRishN 4b37726
Fix tests
imRishN a268fd3
Fix spotless check
imRishN 0d420b1
Update logic for exclusion response
imRishN 84443be
Update Changelog
imRishN 0bcf6b3
Addressing minor comments
imRishN e114e85
Update request eligibility check
imRishN ad9f040
Update metadata usage
imRishN 7a65770
Remove fromStage method and update withUpdatedStatus method in metadata
imRishN 453b1b1
Fix spotless check
imRishN 1b42670
Add observer to ensure abdication
imRishN a30fa9d
Refactor node removal observer
imRishN 32481f5
Fix spotless check
imRishN 9f6e1de
Update state transistions
imRishN 32de492
Small fixes
imRishN 779bdf8
Fixes
imRishN 0d81ae2
Fix spotless check
imRishN b8bd931
Control peer discovery during decommission
imRishN 828167f
Change runnable to action listener
imRishN e73f4f7
skip prevoting for decommissioned nodes irrespective of cluster state
imRishN e55b588
Merge branch 'decommission/pr' into decommission-controlled-discovery/pr
imRishN 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 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 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 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit : it doesn't look like a
Failure
, but an expected behavior. I would prefer just aExecutor
overActionListener
for same reason .But overall it looks good.