Add implicit discovery.zen.maximum_master_nodes #12569
Labels
discuss
:Distributed/Discovery-Plugins
Anything related to our integration plugins with EC2, GCP and Azure
We already have support for maintaining quorum of the minimum number of master nodes. It may also be nice to have an inverse setting to limit the expected number of master nodes that can join the cluster.
This is purely to solve operational misconfigurations, but it can also be implicitly determined by solving for
M
(eligible master nodes) from the quorum equation givendiscovery.zen.minimum_master_nodes
.We can use this to prevent misconfigurations from becoming a problem by failing for the same reason when quorum is not met.
rather than just
This also makes me wonder if we should deprecate
discovery.zen.minimum_master_nodes
in favor of adiscovery.zen.expected_master_nodes
(defaults to 1), similar togateway.expected_master_nodes
. Then we can calculate quorum ourselves to avoid confusion (truncation/integer division can sometimes catch people off guard).The text was updated successfully, but these errors were encountered: