While running zookeeper on a 6 node cluster, does anyone know if the quorum is automatically determined to be 4 nodes or 3 nodes?
If the quorum is chosen as N/2, then it would become 3 and can lead to a split brain situation. If the quorum is chosen as (N+1)/2, then it would become 4 and will avoid the split brain situation.
So I am hoping that it is the latter but the documentation does not mention anything of that sort. Does anyone know this for sure?
P.S. I know that odd number of zookeeper nodes is recommended but I am just curious to know what happens for an even number of nodes case.