PUT _cluster/settings
{
"persistent": {
"cluster.routing.allocation.enable": "none"
}
}
Then a bunch of steps to update a node, and then step 7 to reenable shard allocation:
PUT _cluster/settings
{
"transient": {
"cluster.routing.allocation.enable": "all"
}
}
Then in step 9 it says to repeat the previous steps for each additional node (presumably steps 1-8). However, if you run step 1 again to disable allocation, that won't do anything right? Step 1 configures a persistent setting, whereas step 7 overwrote that setting with a transient setting. So doing step 1 again to disable allocation will have no effect as transient settings take precedence over persistent ones. That seems like a bug in the docs, no?
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.