Skip to content
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

Refactor master node change predicate for reuse #15735

Merged
merged 1 commit into from
Jan 6, 2016
Merged

Refactor master node change predicate for reuse #15735

merged 1 commit into from
Jan 6, 2016

Conversation

jasontedor
Copy link
Member

This commit migrates a ClusterStateObserver.ChangePredicate for
detecting a master node change into a separate class for reuse
elsewhere.

This commit migrates a ClusterStateObserver.ChangePredicate for
detecting a master node change into a separate class for reuse
elsewhere.
@jasontedor
Copy link
Member Author

This predicate will be reused in the next step of #14252 (handling when we send a shard failure to a node that we thought was the master but is no longer the master).

@bleskes
Copy link
Contributor

bleskes commented Jan 6, 2016

LGTM

jasontedor added a commit that referenced this pull request Jan 6, 2016
Refactor master node change predicate for reuse
@jasontedor jasontedor merged commit ef16113 into elastic:master Jan 6, 2016
@jasontedor jasontedor deleted the master-node-change-predicate branch January 6, 2016 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants