# Master not discovered, even though quorum is fulfilled

**URL:** https://discuss.elastic.co/t/master-not-discovered-even-though-quorum-is-fulfilled/336079
**Category:** Elasticsearch
**Created:** [June 15, 2023, 10:46am UTC](https://discuss.elastic.co/t/master-not-discovered-even-though-quorum-is-fulfilled/336079 "2023-06-15T10:46:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kley/32/43533_2.png) [@kley](https://discuss.elastic.co/u/kley)
#### Post date: [June 15, 2023, 10:46am UTC](https://discuss.elastic.co/t/master-not-discovered-even-though-quorum-is-fulfilled/336079/1 "2023-06-15T10:46:15Z")

</div>

Hey!  
So, I have this 12 node cluster with elastic 7.17.5 running. During the upgrade process to this version the cluster had issues finding the master node:

```auto
master not discovered or elected yet, an election requires at least 6 
nodes with ids from [...], have discovered [...] which is a quorum; 
discovery will continue using [...] from hosts providers and [...] 
from last-known cluster state; node term 659, last-accepted version 602734 in term 659

```

Every 10 seconds, this message was logged for ~35min before it found a new master.

I would not be posting here, if it says the quorum is NOT met - which would be obvious. However, in this case the quorum IS met and it still does not elect a new master.

So my question is, what can be the issue, that the election does not elect a master even though the quorum is met?

Thanks in advance 🙂

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [June 15, 2023, 11:00am UTC](https://discuss.elastic.co/t/master-not-discovered-even-though-quorum-is-fulfilled/336079/2 "2023-06-15T11:00:47Z")

</div>

From the [docs on troubleshooting discovery](https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-troubleshooting.html):

> If the logs indicate that Elasticsearch _has_ discovered a possible quorum of nodes, the typical reason that the cluster can’t elect a master is that one of the other nodes can’t discover a quorum. Inspect the logs on the other master-eligible nodes and ensure that they have all discovered enough nodes to form a quorum.

---

<div class="post-metadata">

### Author: ![kley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kley/32/43533_2.png) [@kley](https://discuss.elastic.co/u/kley)
#### Post date: [June 15, 2023, 11:39am UTC](https://discuss.elastic.co/t/master-not-discovered-even-though-quorum-is-fulfilled/336079/3 "2023-06-15T11:39:13Z")

</div>

Ok, I totally missed that part of the docs...

Thank you again David!

---

<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 13, 2023, 11:39am UTC](https://discuss.elastic.co/t/master-not-discovered-even-though-quorum-is-fulfilled/336079/4 "2023-07-13T11:39:29Z")

</div>

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