I am using Elasticsearch 7.9 version. I want to find the quorum value of my cluster.
Before 7.x version, discovery.zen.minimum_master_nodes controlled the minimum number of eligible master nodes that a node should “see” in order to operate within the cluster.
Quorum was calculated as : N/2 + 1 where N is number of master nodes. This setting was set to a quorum of master eligible nodes.
But in 7.x, the discovery.zen.minimum_master_nodes setting is permitted, but ignored, on 7.x nodes as mentioned in Breaking changes in 7.x
As per official Elasticsearch documentation on Voting configuration, I tried this below curl command:
curl -X GET "localhost:9200/_cluster/state?filter_path=metadata.cluster_coordination.last_committed_config&pretty"
And got the following output :
{
"metadata" : {
"cluster_coordination" : {
"last_committed_config" : [
"VxTTvFWRRY6TF2Bi2vPiPw"
]
}
}
}
Can anyone please tell me how can I find the quorum value of my cluster in Elasticsearch 7.x OR how can I view the voting configuration through which I can know which master eligible nodes are participating in voting and from there I will calculate the quorum value.