# Gateway.expected\_nodes and full cluster restart

**URL:** https://discuss.elastic.co/t/gateway-expected-nodes-and-full-cluster-restart/97151
**Category:** Elasticsearch
**Created:** [August 15, 2017, 10:06pm UTC](https://discuss.elastic.co/t/gateway-expected-nodes-and-full-cluster-restart/97151 "2017-08-15T22:06:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![loren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loren/32/44942_2.png) [@loren](https://discuss.elastic.co/u/loren)
#### Post date: [August 15, 2017, 10:06pm UTC](https://discuss.elastic.co/t/gateway-expected-nodes-and-full-cluster-restart/97151/1 "2017-08-15T22:06:52Z")

</div>

In [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html), the docs say that these gateway settings must be set on all master nodes, but that they require a full cluster restart to take effect.

Say I have a cluster with:

- 3 master-only nodes
- some data-only nodes
- some ingest-only nodes
- some coordinator-only nodes

Can I just set these `gateway` settings on the 3 masters' `elasticsearch.yml` file and restart just the 3 masters?  
Or do I need to specify it in every node's `elasticsearch.yml` file and restart every node?

---

<div class="post-metadata">

### Author: ![ywelsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ywelsch/32/7751_2.png) [@ywelsch](https://discuss.elastic.co/u/ywelsch)
#### Post date: [August 18, 2017, 5:59am UTC](https://discuss.elastic.co/t/gateway-expected-nodes-and-full-cluster-restart/97151/2 "2017-08-18T05:59:46Z")

</div>

just the master nodes are sufficient

---

<div class="post-metadata">

### Author: ![loren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loren/32/44942_2.png) [@loren](https://discuss.elastic.co/u/loren)
#### Post date: [August 18, 2017, 2:45pm UTC](https://discuss.elastic.co/t/gateway-expected-nodes-and-full-cluster-restart/97151/3 "2017-08-18T14:45:43Z")

</div>

Thank you @ywelsch!

---

<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: [September 15, 2017, 2:45pm UTC](https://discuss.elastic.co/t/gateway-expected-nodes-and-full-cluster-restart/97151/4 "2017-09-15T14:45:45Z")

</div>

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