i made curl petition elastic cluster force awareness:
cluster.routing.allocation.awareness.force
but didn't in settings file, in curl petition , i'm having lot's of shards unasigned. knows curl sentence remove force awareness?
please help..
thanks
there no way revert dynamic settings default in elasticsearch 2.x specified in github-issue
there support in elasticsearch 5.x mentioned in documentation
resetting persistent or transient settings can done assigning null value. if transient setting reset, persistent setting applied if available. otherwise elasticsearch fallback setting defined @ configuration file or, if not existent, default value. here example:
curl -xput localhost:9200/_cluster/settings -d '{ "transient" : { "discovery.zen.minimum_master_nodes" : null }
in elasticsearch 2.x have following optoins :
- if
cluster.routing.allocation.awareness.force
modified intransient
settings restart cluster. - if
persistent
workaround stop cluster deleteglobal-x.st
files under0/_state/
.
note: careful if go route since lose other dynamic settings, templates too.
Comments
Post a Comment