Shard reallocation when nodes are down

Hi all,
Everyone keeps stating how Elasticsearch is smart and knows to reallocate when a node is down.

But i cant seem to find the conditions for which Elastic determine when the node is down.

If i have a connection hiccup, will elastic start reallocating through my network? and when the node returns, elastic might see it as a "new" node and allocate it new data?

Is there a way to change those conditions?
Can I decide that if a certain machine is down, dont reallocate and state the cluster health as red?
Thanks in advance!

A node is considered down when it does not respond to pings anymore: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/modules-discovery-zen.html#fault-detection.

You might also want to read about delayed shard allocation: https://www.elastic.co/guide/en/elasticsearch/reference/current/delayed-allocation.html.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.