Gateway.expected_nodes and full cluster restart


(Loren Siebert) #1

In 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?


(Yannick Welsch) #2

just the master nodes are sufficient


(Loren Siebert) #3

Thank you @ywelsch!


(system) #4

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