Skip to content

Commit d74914d

Browse files
committed
[DOCS] Changed to use transient setting to reenabled allocation. Closes elastic#27677
1 parent 29ee612 commit d74914d

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

docs/reference/upgrade/cluster_restart.asciidoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,19 @@ reenable allocation.
9494
------------------------------------------------------
9595
PUT _cluster/settings
9696
{
97-
"persistent": {
97+
"transient": {
9898
"cluster.routing.allocation.enable": "all"
9999
}
100100
}
101101
------------------------------------------------------
102102
// CONSOLE
103103

104+
NOTE: Because <<cluster-update-settings.html#_precedence_of_settings, transient
105+
settings take precedence over persistent settings>>, this overrides the
106+
persistent setting used to disable shard allocation in the first step. If you
107+
don't explicitly reenable shard allocation after a full cluster restart, the
108+
persistent setting is used and shard allocation remains disabled.
109+
104110
Once allocation is reenabled, the cluster starts allocating replica shards to
105111
the data nodes. At this point it is safe to resume indexing and searching,
106112
but your cluster will recover more quickly if you can wait until all primary

docs/reference/upgrade/rolling_upgrade.asciidoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ GET _cat/nodes
6969
+
7070
--
7171

72+
NOTE: Because <<cluster-update-settings.html#_precedence_of_settings, transient
73+
settings take precedence over persistent settings>>, this overrides the
74+
persistent setting used to disable shard allocation in the first step. If you
75+
don't explicitly reenable shard allocation after a full cluster restart, the
76+
persistent setting is used and shard allocation remains disabled.
77+
7278
Once the node has joined the cluster, reenable shard allocation to start using
7379
the node:
7480

@@ -156,4 +162,4 @@ In the unlikely case of a network malfunction during the upgrade process that
156162
isolates all remaining old nodes from the cluster, you must take the
157163
old nodes offline and upgrade them to enable them to join the cluster.
158164
159-
====================================================
165+
====================================================

0 commit comments

Comments
 (0)