On Thu, Apr 3, 2014 at 3:36 PM, Mikhail Simin <[email protected]> wrote:
Hello! > > Is there a way to instruct a single ES node to actively upload its shards > to the rest of the farm? > See the last example here: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-cluster.html#allocation-filtering You'll have to wait for the shards to leave by watching them in the status API. > My end goal is to modify the shutdown script to do this before > decommissioning an ES node instance. > > If you are shutting it down for good or plan to smash the data for some reasoon (repartition?) then this is a good thing to do. If you just want to restart it you are better of disabling replica allocation for the period while the node is down. They should come back online quickly once it is back. Nik -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2j477nbB2vQwqa1rEENNrhT8ajCue%2Bp8qYKMC2VHZ7Zw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
