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:
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.