# Gateway.\* settings and cluster scale-out

**URL:** https://discuss.elastic.co/t/gateway-settings-and-cluster-scale-out/47924
**Category:** Elasticsearch
**Created:** [April 20, 2016, 2:57pm UTC](https://discuss.elastic.co/t/gateway-settings-and-cluster-scale-out/47924 "2016-04-20T14:57:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![haizaar](https://avatars.discourse-cdn.com/v4/letter/h/3d9bf3/32.png) [@haizaar](https://discuss.elastic.co/u/haizaar)
#### Post date: [April 20, 2016, 2:57pm UTC](https://discuss.elastic.co/t/gateway-settings-and-cluster-scale-out/47924/1 "2016-04-20T14:57:50Z")

</div>

I'm reading [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html) that `gateway.*` settings take effect only after a full cluster restart.

Now I want to add another data node to a cluster and thus I want to bump `gateway.expected_data_nodes` and `gateway.recover_after_data_nodes`. So:

- I have to distribute this settings to `elasticsearch.yaml` of _every_ node in the cluster, right?
- Do I have to actually restart the nodes or will they pick up this setting when coming up after next potential cluster shutdown?

---

<div class="post-metadata">

### Author: ![haizaar](https://avatars.discourse-cdn.com/v4/letter/h/3d9bf3/32.png) [@haizaar](https://discuss.elastic.co/u/haizaar)
#### Post date: [April 24, 2016, 10:43am UTC](https://discuss.elastic.co/t/gateway-settings-and-cluster-scale-out/47924/2 "2016-04-24T10:43:18Z")

</div>

Anyone please?

---

<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: [July 5, 2017, 10:56pm UTC](https://discuss.elastic.co/t/gateway-settings-and-cluster-scale-out/47924/3 "2017-07-05T22:56:43Z")

</div>


