Reply
New Contributor
Posts: 4
Registered: ‎06-09-2018

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

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."

Highlighted
Champion
Posts: 742
Registered: ‎05-16-2016

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

@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 .  :) 

Announcements