ho ho ho !  you guess rigth ,

sure "In Split-Brain, the total is based on 7."


i understand i know  !


thank you !




------------------ ???????? ------------------
??????:                                                                         
                                               "user"                           
                                                         
<[email protected]&gt;;
????????:&nbsp;2021??9??2??(??????) ????10:32
??????:&nbsp;"user"<[email protected]&gt;;

????:&nbsp;Re: ?????? why zookeeper server count is odd !!!



On 9/1/2021 6:32 PM, ???????? wrote:
&gt; second email i want know :
&gt; 
&gt; if i have 7 zookeeper server,
&gt; 
&gt; if internet error, <123&gt;server in one small master-replica, <4567&gt; 
server in one small master-replica too,
&gt; so i want know :
&gt; <123&gt;server can have new leader??
&gt; and 
&gt; <4567&gt;server can have new leader??

I still do not understand what you're asking, but I will try to guess.

An ensemble with 7 servers can survive 3 failures.

If you are describing a situation with 7 servers where the 1, 2, and 3 
servers are disconnected from the rest but can still communicate with 
each other, those 3 servers will NOT be able to achieve quorum.&nbsp; If the 
other 4 servers can talk to each other, then they WILL achieve quorum 
and elect a leader.&nbsp; This is how ZK is designed, and I really doubt that 
it will ever change.

Thanks,
Shawn

Reply via email to