Skip to content

Commit 89869a2

Browse files
authored
Improve allocation-disabling instructions (#30248)
Clarify the “one minute” in the instructions to disable the shard allocation when doing maintenance to say that it is configurable.
1 parent 6e48066 commit 89869a2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/reference/upgrade/disable-shard-alloc.asciidoc

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11

2-
When you shut down a node, the allocation process waits for one minute
3-
before starting to replicate the shards on that node to other nodes
4-
in the cluster, causing a lot of wasted I/O. You can avoid racing the clock
5-
by disabling allocation before shutting down the node:
2+
When you shut down a node, the allocation process waits for
3+
`index.unassigned.node_left.delayed_timeout` (by default, one minute) before
4+
starting to replicate the shards on that node to other nodes in the cluster,
5+
which can involve a lot of I/O. Since the node is shortly going to be
6+
restarted, this I/O is unnecessary. You can avoid racing the clock by disabling
7+
allocation before shutting down the node:
68

79
[source,js]
810
--------------------------------------------------

0 commit comments

Comments
 (0)