# Cluster.routing.allocation.enable vs planned node outages, eg. rolling node restarts

**URL:** https://discuss.elastic.co/t/cluster-routing-allocation-enable-vs-planned-node-outages-eg-rolling-node-restarts/297497
**Category:** Elasticsearch
**Created:** [February 17, 2022, 1:39pm UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-vs-planned-node-outages-eg-rolling-node-restarts/297497 "2022-02-17T13:39:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stefws](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stefws/32/6442_2.png) [@stefws](https://discuss.elastic.co/u/stefws)
#### Post date: [February 17, 2022, 1:39pm UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-vs-planned-node-outages-eg-rolling-node-restarts/297497/1 "2022-02-17T13:39:11Z")

</div>

Trying to recapture BCP for doing a planned node outage eg. by rolling restarts.

Wouldn't it be good practice to set `cluster.routing.allocation.enable` transient to 'none' before taking a node offline and the then set it back to 'all' after node rejoins cluster?

Trying to pick my brain if there were some settings controlling the timeout before shard reallocations kicks in after a node has left the cluster... or maybe I'm confusing it with Cassandra clusters.

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [February 17, 2022, 2:14pm UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-vs-planned-node-outages-eg-rolling-node-restarts/297497/2 "2022-02-17T14:14:39Z")

</div>

The recommended steps for a rolling restart are [covered in the docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/restart-cluster.html#restart-cluster-rolling). These docs also mention the `index.unassigned.node_left.delayed_timeout` setting which controls the timeout you are asking about.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 17, 2022, 2:15pm UTC](https://discuss.elastic.co/t/cluster-routing-allocation-enable-vs-planned-node-outages-eg-rolling-node-restarts/297497/3 "2022-03-17T14:15:26Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
