As I understand, open indices' shards will be relocated to other nodes... but what happens to closed indices?
A closed index is, per my understanding, ignored on snapshots... so it makes me think if it will be ignored when setting an allocation exclusion as well.
After excluding allocation to a node, I went to check its disk usage... and it seems like it still has a lot of things there:
$ du -hs /usr/share/elasticsearch/nodes/0/
131G /usr/share/elasticsearch/nodes/0/
So, my questions are:
What happens to closed indices when I exclude a node from allocation?
How safe it is to do this if I don't want to loose those closed indices (for whatever reason)?
Is there a way to tell ES to also rebalance closed indices in case it doesn't already do it?
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.