File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,19 @@ reenable allocation.
94
94
------------------------------------------------------
95
95
PUT _cluster/settings
96
96
{
97
- "persistent ": {
97
+ "transient ": {
98
98
"cluster.routing.allocation.enable": "all"
99
99
}
100
100
}
101
101
------------------------------------------------------
102
102
// CONSOLE
103
103
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
+
104
110
Once allocation is reenabled, the cluster starts allocating replica shards to
105
111
the data nodes. At this point it is safe to resume indexing and searching,
106
112
but your cluster will recover more quickly if you can wait until all primary
Original file line number Diff line number Diff line change @@ -69,6 +69,12 @@ GET _cat/nodes
69
69
+
70
70
--
71
71
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
+
72
78
Once the node has joined the cluster, reenable shard allocation to start using
73
79
the node:
74
80
@@ -156,4 +162,4 @@ In the unlikely case of a network malfunction during the upgrade process that
156
162
isolates all remaining old nodes from the cluster, you must take the
157
163
old nodes offline and upgrade them to enable them to join the cluster.
158
164
159
- ====================================================
165
+ ====================================================
You can’t perform that action at this time.
0 commit comments