Skip to content

Conversation

@jasontedor
Copy link
Member

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

@jasontedor
Copy link
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).

@jasontedor
Copy link
Member Author

@bleskes I've rebased this pull request on the latest changes in #14899.

@jasontedor
Copy link
Member Author

@bleskes This pull request has been rebased on master since #14899 has been integrated there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this processed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in b58d82f.

@bleskes
Copy link
Contributor

bleskes commented Dec 3, 2015

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
@jasontedor jasontedor merged commit dd52016 into elastic:master Dec 3, 2015
@jasontedor jasontedor deleted the shard-started-batch branch December 3, 2015 19:10
@clintongormley clintongormley added :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. and removed :Cluster labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. >enhancement v2.2.0 v5.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants