On Wed, Jul 02, 2014 at 05:43:26AM -0700, Andrew Davidoff wrote: > How can I avoid this, and make shards on a restarted node come back on the > same node?
Hello, I have exactly the same issue. My objective is to make a rolling restart script which wait for green cluster state before restarting a node. I use: > curl -XPUT -s $host:$port/_cluster/settings -d > '{"transient":{"cluster.routing.allocation.enable": "new_primaries"}}' to allow the cluster to work (and be able to create indices) during restart. But same issue: node is back up but nothing happen until I enable all allocation again I have gone through elasticsearch documentation related to recovery, gateway, cluster settings without finding any parameters to activate or configure this initial recovery of local indices. -- Grégoire -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/20140702142754.GA2140%40criteo-scalasto.criteo.prod. For more options, visit https://groups.google.com/d/optout.