title: Running zookeeper with even number of nodes
body: <p>While running zookeeper on a 6 node cluster, does anyone know if the quorum is automatically determined to be 4 nodes or 3 nodes?</p>
  
  <p>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.</p>
  
  <p>So I am hoping that it is the latter but the <a href="https://zookeeper.apache.org/doc/r3.1.2/zookeeperStarted.html" rel="nofollow noreferrer">documentation</a> does not mention anything of that sort.
  Does anyone know this for sure?</p>
  
  <p>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.</p>