# Is Rolling restart documentation correct?

**URL:** https://discuss.elastic.co/t/is-rolling-restart-documentation-correct/316338
**Category:** Elasticsearch
**Created:** [October 11, 2022, 1:57pm UTC](https://discuss.elastic.co/t/is-rolling-restart-documentation-correct/316338 "2022-10-11T13:57:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![landychev](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@landychev](https://discuss.elastic.co/u/landychev)
#### Post date: [October 11, 2022, 1:57pm UTC](https://discuss.elastic.co/t/is-rolling-restart-documentation-correct/316338/1 "2022-10-11T13:57:20Z")

</div>

I have read the documentation for rolling restart at.

> **[Full-cluster restart and rolling restart | Elasticsearch Guide \[7.5\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.5/restart-cluster.html)**

and more about cluster.routing.allocation.enable

> **[Cluster-level shard allocation and routing settings | Elasticsearch Guide...](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/modules-cluster.html)**

What i am confused about is step 7, Re-enable shard allocation .  
Why would you set it to **null** when the default value should be **all**.  
Would not **null** mean **none**?

/Alex

---

<div class="post-metadata">

### Author: ![whatgeorgemade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whatgeorgemade/32/103246_2.png) [@whatgeorgemade](https://discuss.elastic.co/u/whatgeorgemade)
#### Post date: [October 11, 2022, 2:29pm UTC](https://discuss.elastic.co/t/is-rolling-restart-documentation-correct/316338/2 "2022-10-11T14:29:01Z")

</div>

A value of `null` removes any user-specified value for the setting, reverting it back to the default value (which is specified in the Elasticsearch source code) of `all`.

You can be explicit if you prefer, and set it to `all`, but the effect is the same.

---

<div class="post-metadata">

### Author: ![landychev](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@landychev](https://discuss.elastic.co/u/landychev)
#### Post date: [October 12, 2022, 6:33am UTC](https://discuss.elastic.co/t/is-rolling-restart-documentation-correct/316338/3 "2022-10-12T06:33:05Z")

</div>

Thank you George for the answer.  
/Alex

---

<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: [November 9, 2022, 6:33am UTC](https://discuss.elastic.co/t/is-rolling-restart-documentation-correct/316338/4 "2022-11-09T06:33:24Z")

</div>

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