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 -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.'
{"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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/00e0e0a2-93b7-460a-a03a-c948323c0f1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.