-
Notifications
You must be signed in to change notification settings - Fork 25.3k
[Zen2] Reconfigure cluster as its membership changes #34592
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
DaveCTurner
merged 26 commits into
elastic:zen2
from
DaveCTurner:2018-10-18-auto-reconfigure
Oct 19, 2018
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6e96ec8
Reconfigure cluster as its membership changes
DaveCTurner 54eca68
Adding each node might take two publications due to reconfiguration
DaveCTurner 96fba05
TODO
DaveCTurner 8d50dc7
Assert specifics about the configuration
DaveCTurner 81c8094
Use local method
DaveCTurner 447f26f
Rename to improveConfiguration, always calculates better configuration
DaveCTurner a6f50e3
Cluster#size()
DaveCTurner 4b0986f
Add assertions, better messages
DaveCTurner 50abb94
Assert that last-committed and last-accepted states are equal
DaveCTurner 4fd70fd
Better log message
DaveCTurner 37d95bb
log when IO exceptions are simulated
DaveCTurner b53cf0c
Handle failure when bumping term by standing down
DaveCTurner aea29ed
TODO
DaveCTurner 9cfc15e
TODO
DaveCTurner dbdaf0b
TODO
DaveCTurner 5692417
Finer-grained tests
DaveCTurner 17ff409
URGENT
DaveCTurner c9b976e
Do not schedule reconfiguration if still becoming master
DaveCTurner 1a8a3ae
Comments
DaveCTurner a33840e
Only expect correct state if the cluster applier is working
DaveCTurner 1eb28a2
It's ok to leave the failure tolerance setting behind
DaveCTurner 015785c
The leader might be disconnected
DaveCTurner 3c95c5f
Lag detection doesn't fix the situation where the applier failed
DaveCTurner 919436d
Merge branch 'zen2' into 2018-10-18-auto-reconfigure
DaveCTurner d3975a9
Allow lag-fixing to take longer if any cluster-appliers are hanging
DaveCTurner 56fac17
Ignore leftover fault-tolerance setting in ITs
DaveCTurner 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
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.
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.