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

Cluster Health should run on applied states, even if waitFor=0 #17440

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

bleskes
Copy link
Contributor

@bleskes bleskes commented Mar 31, 2016

We already protect against making decisions based on an inflight cluster state if someone asks for a waitFor rule (like wait for green). We should do the same for normal health checks as well (unless timeout is set to 0) as it be trappy to debug failures when health says the cluster is in a certain state, but that state wasn't applied yet.

Example failure: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+periodic/270/console

@s1monw
Copy link
Contributor

s1monw commented Mar 31, 2016

LGTM

@bleskes bleskes force-pushed the cluster_health_applied branch from c3e0260 to 24eb0ba Compare April 1, 2016 08:53
@bleskes bleskes force-pushed the cluster_health_applied branch from 24eb0ba to 90954ed Compare April 1, 2016 08:58
@bleskes bleskes force-pushed the cluster_health_applied branch from 90954ed to 28c468b Compare April 1, 2016 09:08
…c#17440

We already protect against making decisions based on an inflight cluster state if someone asks for a waitFor rule (like wait for green). We should do the same for normal health checks as well (unless timeout is set to 0) as it be trappy to debug failures when health says the cluster is in a certain state, but that state wasn't applied yet.

Closes elastic#17440
@bleskes bleskes force-pushed the cluster_health_applied branch from 28c468b to 0b12cab Compare April 1, 2016 09:14
@bleskes bleskes merged commit 0b12cab into elastic:master Apr 1, 2016
@bleskes bleskes deleted the cluster_health_applied branch April 1, 2016 09:23
@clintongormley clintongormley added :Distributed Indexing/Distributed A catch all label for anything in the Distributed 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 Area. Please avoid if you can. >enhancement v5.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants