-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Promote replica on the highest version node #25277
Merged
Merged
Commits on Jun 19, 2017
-
Promote replica on the highest version node
This changes the replica selection to prefer to return replicas on the highest version when choosing a replacement to promote when the primary shard fails. Consider this situation: - A replica on a 5.6 node - Another replica on a 6.0 node - The primary on a 6.0 node The primary shard is sending sequence numbers to the replica on the 6.0 node and skipping sending them for the 5.6 node. Now assume that the primary shard fails and (prior to this change) the replica on 5.6 node gets promoted to primary, it now has no knowledge of sequence numbers and the replica on the 6.0 node will be expecting sequence numbers but will never receive them. Relates to elastic#10708
Configuration menu - View commit details
-
Copy full SHA for 3aa3edc - Browse repository at this point
Copy the full SHA 3aa3edcView commit details
Commits on Jun 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1273e99 - Browse repository at this point
Copy the full SHA 1273e99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 879eef0 - Browse repository at this point
Copy the full SHA 879eef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb42f65 - Browse repository at this point
Copy the full SHA cb42f65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54edaf8 - Browse repository at this point
Copy the full SHA 54edaf8View commit details
Commits on Jun 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ef8c79d - Browse repository at this point
Copy the full SHA ef8c79dView commit details
Commits on Jun 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 27469f5 - Browse repository at this point
Copy the full SHA 27469f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4da03ea - Browse repository at this point
Copy the full SHA 4da03eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56dfe80 - Browse repository at this point
Copy the full SHA 56dfe80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ca757b - Browse repository at this point
Copy the full SHA 3ca757bView commit details
Commits on Jun 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9d9d4b7 - Browse repository at this point
Copy the full SHA 9d9d4b7View 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.