Skip to content

Commit

Permalink
Improve allocation-disabling instructions (#30248)
Browse files Browse the repository at this point in the history
Clarify the “one minute” in the instructions to disable the shard allocation
when doing maintenance to say that it is configurable.
  • Loading branch information
DaveCTurner committed May 29, 2018
1 parent ac1b5c7 commit 5b4f3f6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/reference/upgrade/disable-shard-alloc.asciidoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

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

[source,js]
--------------------------------------------------
Expand Down

0 comments on commit 5b4f3f6

Please sign in to comment.