Minimum master nodes exceed eligible

discovery.zen.minimum_master_nodes exceeds the number of master-eligible nodes in the cluster. The cluster might fail to elect a master or fail to start because the setting demands more masters than exist.

Note

For a complete list of insights, refer to AutoOps insights.

Field Value
Component Elasticsearch
Severity High
Scope Cluster
Domains configuration, high-availability, stability

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

discovery.zen.minimum_master_nodes is es-data-01. The cluster has 12 master-eligible nodes.

Note

AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.

discovery.zen.minimum_master_nodes is the legacy Zen discovery quorum setting. On older Elasticsearch versions it defined how many master-eligible nodes must agree before a master can be elected. Modern Elasticsearch uses automatic voting configuration, but this setting can remain on legacy or upgraded clusters.

When the value is greater than the number of master-eligible nodes, master election cannot succeed. The cluster might fail to start or stay without an elected master until you add master-eligible nodes or lower the setting to match your topology.

Quorum-based decision making