When doing a rolling upgrade, it says to set "cluster.routing.allocation.enable=none" and then flush.
-
Is the documentation for 6.2 wrong in that it disables using persistent and then does transient? Should it not be both transient? I see that someone else had the same question and also in the 5.6 documentation it says to use transient for disabling and enabling allocation (Rolling Upgrade Documentation Incorrect?).
-
How is this considered a rolling upgrade since we are essentially down when issuing the "cluster.routing.allocation.enable=none" command? I am not able to create any new indexes at this time and I'm only able to add documents to existing indexes. Do these index creates just fail and disappear with the error "no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]"? From my testing, these documents that I try and create while my cluster allocation.enable is set to none is lost. Please tell me if I'm wrong.
https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgrades.html
https://www.elastic.co/guide/en/elasticsearch/reference/5.6/rolling-upgrades.html