Support Questions
Find answers, ask questions, and share your expertise

Why do we need to have a "majority" in Zookeeper ?

New Contributor

Why do we need to have a majority in Zookeeper ?

 

Kindly explain the case of 'two zookeepers'. In the below statement, what is meaning of majority?

 

"If we have two nodes and one node fails, we don’t have majority as well, since one out of two is not a majority."

1 REPLY 1

Champion

@Navya 

 

Below article that i found that would explain the reason behind having the zookeeper quorom in odd numbers 

 

http://bytecontinnum.com/2016/09/zookeeper-always-configured-odd-number-nodes/

 

Hope this is suffice .  🙂