# Elasticsearch 1.1 conflict setting routing.allocation.enable:all and disable\_allocation:true

**URL:** https://discuss.elastic.co/t/elasticsearch-1-1-conflict-setting-routing-allocation-enable-all-and-disable-allocation-true/21307
**Category:** Elasticsearch
**Created:** [December 18, 2014, 7:14am UTC](https://discuss.elastic.co/t/elasticsearch-1-1-conflict-setting-routing-allocation-enable-all-and-disable-allocation-true/21307 "2014-12-18T07:14:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mano\_Ksoin](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mano\_Ksoin](https://discuss.elastic.co/u/Mano_Ksoin)
#### Post date: [December 18, 2014, 7:14am UTC](https://discuss.elastic.co/t/elasticsearch-1-1-conflict-setting-routing-allocation-enable-all-and-disable-allocation-true/21307/1 "2014-12-18T07:14:10Z")

</div>

I have elasticsearch 1.1 with four nodes. i had an issue with one of the  
node and modified settings. when the failed node came up and joined the  
cluster, i try to enable the allocation. it fails and as well noticed the  
conflict options. in my case, routing.allocation.enable:all and  
disable\_allocation:true which option is effective??

command fails:  
[root@elastic-04 mjohn]# curl -XPUT  
[elastic-03.abccompany.net:9200/\_cluster/settings](http://elastic-03.abccompany.net:9200/_cluster/settings) -d '{  
"persistent" : {  
"cluster.routing.allocation.disable\_allocation": false,  
"cluster.routing.allocation.enable" : "all"  
}  
}'  
{"_acknowledged":false,_  
"persistent":{"cluster":{"routing":{"allocation":{"enable":"all","disable\_allocation":"false"}}}},"transient":{}}

conflict:  
curl -XGET  
'[http://localhost:9200/\_all/\_settings?prefix=index.routing.allocation.'](http://localhost:9200/_all/_settings?prefix=index.routing.allocation.')  
{"dipits\_dns\_v1":{"settings":{"index":{"routing":{"allocation":{"enable":"all","disable\_allocation":"true"}},"uuid":"effez5nUSI66i1efJtLMXg","analysis":{"analyzer":{"str\_index\_analyzer":{"filter":["lowercase","substring"],"tokenizer":"whitespace"},"str\_search\_analyzer":{"filter":["lowercase"],"tokenizer":"whitespace"}},"filter":{"substring":{"type":"nGram","min\_gram":"3","max\_gram":"60"}}},"number\_of\_replicas":"1","number\_of\_shards":"8","version":{"created":"1010099"}}}},

Thank you

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/00e0e0a2-93b7-460a-a03a-c948323c0f1c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/00e0e0a2-93b7-460a-a03a-c948323c0f1c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 12:42am UTC](https://discuss.elastic.co/t/elasticsearch-1-1-conflict-setting-routing-allocation-enable-all-and-disable-allocation-true/21307/2 "2017-07-06T00:42:59Z")

</div>


