Hello,

I followed the instructions at the bottom 
of 
http://www.elastic.co/guide/en/elasticsearch/reference/1.5/modules-cluster.html 
to exclude an instance in our test ES cluster:

curl -v -XPUT http://dev:9200/_cluster/settings -H "Content-Type: 
application/json" -d '{
  "transient":{
    "cluster.routing.allocation.include._ip" : "10.0.11.26"
  }
}'

And it worked great - the instance relocated all its shards to other nodes 
and was left without shards on it.

I'm now looking at removing the exclusion but can't find a way to do that.

I tried to set the exclude pattern to empty, i.e. same as above but with an 
empty string instead of the "10.0.11.26", it seems to eventually work but 
the empty "exclude" value is left in the stats and I'm not sure whether it 
works correctly.
I'm suspicious of this because what happens is that node 10.0.11.26 picked 
up shards but another node has lost all its shards.

Is setting the value to empty string the right way to completely revert the 
exclude?
Is there another way to achieve this?

I found the following question circa 2012 but it too was left without an 
answer: 
https://groups.google.com/forum/#!searchin/elasticsearch/revert$20exclude/elasticsearch/fY3fCOKzCUQ/VK_yGVVVFcQJ

Thanks.

-- 
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/1ab4c010-fbba-4c93-8a15-0f1e9efc1a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to