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