Hi guys,
it seems it is a very common question but I did not manage to find the solution by myself.
I have a cluster with 5 nodes and restart of any of them triggers recovery. It is happening even if it is clean restart. Why do shards relocate from other nodes though all of them are available on the current node on the hard drive?
Is it ok? if it is so, could you please explain me why.
If no, how to prevent relocation after node restart.
Befor restart I do:
PUT _cluster/settings
{"transient" : {"cluster.routing.allocation.enable" : "none"}}
and have
PUT _all/_settings
{"settings": {"index.unassigned.node_left.delayed_timeout": "15m"}}
and after:
PUT _cluster/settings
{"transient" : {"cluster.routing.allocation.enable" : "all"}}
Thank you.