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]>;
????????: 2021??9??2??(??????) ????10:32
??????: "user"<[email protected]>;
????: Re: ?????? why zookeeper server count is odd !!!
On 9/1/2021 6:32 PM, ???????? wrote:
> second email i want know :
>
> if i have 7 zookeeper server,
>
> if internet error, <123>server in one small master-replica, <4567>
server in one small master-replica too,
> so i want know :
> <123>server can have new leader??
> and
> <4567>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. If the
other 4 servers can talk to each other, then they WILL achieve quorum
and elect a leader. This is how ZK is designed, and I really doubt that
it will ever change.
Thanks,
Shawn