# In Elasticsearch, what is the difference between es.discovery.nodes=false and es.nodes.wan.only=true?

**URL:** <https://discuss.elastic.co/t/in-elasticsearch-what-is-the-difference-between-es-discovery-nodes-false-and-es-nodes-wan-only-true/186255>\
**Category:** Elasticsearch\
**Created:** [June 18, 2019, 12:38pm UTC](https://discuss.elastic.co/t/in-elasticsearch-what-is-the-difference-between-es-discovery-nodes-false-and-es-nodes-wan-only-true/186255 "2019-06-18T12:38:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmartori](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jmartori/32/36981_2.png) [@jmartori](https://discuss.elastic.co/u/jmartori)\
**Post date:** [June 18, 2019, 12:38pm UTC](https://discuss.elastic.co/t/in-elasticsearch-what-is-the-difference-between-es-discovery-nodes-false-and-es-nodes-wan-only-true/186255/1 "2019-06-18T12:38:14Z")

</div>

While reading about the different configuration options in [https://www.elastic.co/guide/en/elasticsearch/hadoop/5.6/configuration.html](https://www.elastic.co/guide/en/elasticsearch/hadoop/5.6/configuration.html) I came around the options `es.discovery.nodes` and `es.nodes.wan.only` . While they seem to be doing somethings similar, disabling the discovery of new nodes not included in `es.nodes` , `es.nodes.wan.only` is said to highly impact the systems performance.

Is `es.discovery.nodes` also impacting the performance negatively, when `es.nodes` has all the elastic nodes defined?

What are the differences between one parameter and the other?

This is a repost of a question I asked in stackoverflow, but that I got no response, so I was hoping that I would get an answer here.

Thanks,

---

<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 16, 2019, 12:38pm UTC](https://discuss.elastic.co/t/in-elasticsearch-what-is-the-difference-between-es-discovery-nodes-false-and-es-nodes-wan-only-true/186255/2 "2019-07-16T12:38:20Z")

</div>

Closed on July 16, 2019, 12:38pm UTC

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