# Why doesn't discovery.zen.master\_election.ignore\_non\_master\_pings default to true?

**URL:** <https://discuss.elastic.co/t/why-doesnt-discovery-zen-master-election-ignore-non-master-pings-default-to-true/115733>\
**Category:** Elasticsearch\
**Created:** [January 16, 2018, 2:35pm UTC](https://discuss.elastic.co/t/why-doesnt-discovery-zen-master-election-ignore-non-master-pings-default-to-true/115733 "2018-01-16T14:35:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)\
**Post date:** [January 16, 2018, 2:35pm UTC](https://discuss.elastic.co/t/why-doesnt-discovery-zen-master-election-ignore-non-master-pings-default-to-true/115733/1 "2018-01-16T14:35:31Z")

</div>

Is there a reason why `discovery.zen.master_election.ignore_non_master_pings` defaults to `false` and isn't filtering non-master pings by default?

Seems like setting it to true can relieve some pressure from masters which is important in large / busy clusters.

---

<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:** [January 19, 2018, 9:56am UTC](https://discuss.elastic.co/t/why-doesnt-discovery-zen-master-election-ignore-non-master-pings-default-to-true/115733/2 "2018-01-19T09:56:33Z")

</div>

Pinging is a form of gossiping that only happens when a node is neither a master, nor following another master. The setting `discovery.zen.master_election.ignore_non_master_pings` determines whether a node only takes information from master-eligible nodes into account when deciding to join an existing master or trying to become master. Having it set to true allows a data join to rejoin a master that it only learned about from another data node, but which it did not directly got information from. It does not have any influence though on which node is pinging which other node, so I'm not sure how it could relieve some pressure from the masters in a large/busy cluster.

---

<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:** [February 16, 2018, 9:56am UTC](https://discuss.elastic.co/t/why-doesnt-discovery-zen-master-election-ignore-non-master-pings-default-to-true/115733/3 "2018-02-16T09:56:38Z")

</div>

Closed on February 16, 2018, 9:56am UTC

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