-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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
Wait on incoming joins before electing local node as master #12161
Closed
bleskes
wants to merge
10
commits into
elastic:master
from
bleskes:discovery_wait_for_join_on_elections
Closed
Wait on incoming joins before electing local node as master #12161
bleskes
wants to merge
10
commits into
elastic:master
from
bleskes:discovery_wait_for_join_on_elections
Commits on Jul 9, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 33c9078 - Browse repository at this point
Copy the full SHA 33c9078View commit details -
Configuration menu - View commit details
-
Copy full SHA for 850acc4 - Browse repository at this point
Copy the full SHA 850acc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc5a881 - Browse repository at this point
Copy the full SHA cc5a881View commit details -
Configuration menu - View commit details
-
Copy full SHA for 267e061 - Browse repository at this point
Copy the full SHA 267e061View commit details -
Discovery: wait on incoming joins before electing local node as master
During master election each node pings in order to discover other nodes and validate the liveness of existing nodes. Based on this information the node either discovers an existing master or, if enough nodes are found (based on `discovery.zen.minimum_master_nodes>>) a new master will be elected. Currently, the node that is elected as master will currently update it the cluster state to indicate the result of the election. Other nodes will submit a join request to the newly elected master node. Instead of immediately processing the election result, the elected master node should wait for the incoming joins from other nodes, thus validating the elections result is properly applied. As soon as enough nodes have sent their joins request (based on the `minimum_master_nodes` settings) the cluster state is modified. Note that if `minimum_master_nodes` is not set, this change has no effect.
Configuration menu - View commit details
-
Copy full SHA for d7de212 - Browse repository at this point
Copy the full SHA d7de212View commit details
Commits on Jul 12, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 5ac28e3 - Browse repository at this point
Copy the full SHA 5ac28e3View commit details
Commits on Jul 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 9dcf039 - Browse repository at this point
Copy the full SHA 9dcf039View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18c8372 - Browse repository at this point
Copy the full SHA 18c8372View commit details -
Configuration menu - View commit details
-
Copy full SHA for a36b5ff - Browse repository at this point
Copy the full SHA a36b5ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for be19e19 - Browse repository at this point
Copy the full SHA be19e19View commit details
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.