On Fri, Apr 26, 2013 at 10:25:31AM +0200, Damien Hardy wrote:
Damien,
My procedure to restart a node without shards reallocation is :
curl -XPUT localhost:9200/_cluster/settings -d
'{"transient":{"cluster.routing.allocation.disable_allocation": true}}'
/etc/init.d/elasticsearch restart
curl -XPUT localhost:9200/_cluster/settings -d
'{"transient":{"cluster.routing.allocation.disable_allocation": false}}'Shard keep analocated until
"cluster.routing.allocation.disable_allocation": false, then shards recover
on the server just restarted (starting at size they were before shutdown)
It is very quick.
I am quite new to elasticsearch, so this may be kind of newbeish. Does this
also mean, if a primary shard would reside on that node, replica promotion will
not happen?
Best regards, Adrian
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.