How to calculate the correct setting for discovery.zen.minimum_master_nodes?

Issue

  • What is the best value for thediscovery.zen.minimum_master_nodes property in 3 nodes clustered elastic search environment?
  • Is my calculation correct? My calculation is below for 3 nodes:
    • 3/2 + 1 = 1.5 + 1 = 2.5

Environment

  • DXP 7.2+

Resolution

  • According to Elasticsearch's documentation, the formula is the following:
(master_eligible_nodes / 2) + 1
  • The last step in this method is to round down the number to the closest whole number.

Additional Information

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助