Use general cluster state batching mechanism for shard started#15023
Merged
jasontedor merged 3 commits intoelastic:masterfrom Dec 3, 2015
jasontedor:shard-started-batch
Merged
Use general cluster state batching mechanism for shard started#15023jasontedor merged 3 commits intoelastic:masterfrom jasontedor:shard-started-batch
jasontedor merged 3 commits intoelastic:masterfrom
jasontedor:shard-started-batch
Conversation
Member
Author
|
@bleskes I'll rebase this pull request on master when #14899 is reintegrated there. The salient commit for this review is thus 8f7194d52650180c08d3a9e32acc26e47f6061f7 pending #14899 (all the changes for that commit are in ShardStateAction.java and some minor modifications in AllocationService.java). |
Member
Author
Member
Author
Contributor
|
LGTM. Left a more general comment about how we report failures with the new batching. |
This commit modifies the handling of shard started cluster state updates to use the general cluster state batching mechanism. An advantage of this approach is we now get correct per-listener notification on failures.
jasontedor
added a commit
that referenced
this pull request
Dec 3, 2015
Use general cluster state batching mechanism for shard started
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This commit modifies the handling of shard started cluster state updates
to use the general cluster state batching mechanism. An advantage of
this approach is we now get correct per-listener notification on
failures.
Relates #14899, relates #14725