Skip to content

Commit 939a4f5

Browse files
committed
Remove usage of transient settings to enable allocations in rolling upgrade docs (#29671)
Since we disable allocation using persistent settings, we should be consistent and remove the setting from the persistent storage. Otherwise an accidental restart will lead for shards not being allocated. Relates to #28757
1 parent b2c4fe2 commit 939a4f5

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

docs/reference/upgrade/rolling_upgrade.asciidoc

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,15 @@ GET _cat/nodes
7272
+
7373
--
7474

75-
NOTE: Because <<_precedence_of_settings, transient
76-
settings take precedence over persistent settings>>, this overrides the
77-
persistent setting used to disable shard allocation in the first step. If you
78-
don't explicitly reenable shard allocation after a full cluster restart, the
79-
persistent setting is used and shard allocation remains disabled.
80-
81-
Once the node has joined the cluster, reenable shard allocation to start using
82-
the node:
75+
Once the node has joined the cluster, remove the `cluster.routing.allocation.enable`
76+
setting to enable shard allocation and start using the node:
8377

8478
[source,js]
8579
--------------------------------------------------
8680
PUT _cluster/settings
8781
{
88-
"transient": {
89-
"cluster.routing.allocation.enable": "all"
82+
"persistent": {
83+
"cluster.routing.allocation.enable": null
9084
}
9185
}
9286
--------------------------------------------------

0 commit comments

Comments
 (0)