Avoid split brain

I have a cluster with 5 nodes master+data:
2 nodes are into site A and 3 nodes are into site B.
There is a possiblity that link from A to B can go down.
How can I configure discovery.zen.minimum_master_nodes ?

You have five master-eligible nodes so you must set discovery.zen.minimum_master_nodes: 3.

Thanks David. But if the link from site A and B go down, site B has 3 master nodes. Do we have split brain?

No, if the sites are disconnected then site A will fail and site B will continue without it.

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