Master not discovered, even though quorum is fulfilled

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:

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 :slight_smile:

From the docs on troubleshooting discovery:

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.

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

Thank you again David!

1 Like

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