thank you Shawn,
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??
thank you !
------------------ ???????? ------------------
??????:
"user"
<[email protected]>;
????????: 2021??9??1??(??????) ????10:15
??????: "user"<[email protected]>;
????: Re: why zookeeper server count is odd !!!
On 8/31/2021 7:59 PM, ???????? wrote:
> can has a url address ?? or&nbsp; at zookeeper.apache.org&nbsp;
site doc ??
An odd number of servers is recommended because you don't gain anything
from having one more (making it an even number).
https://zookeeper.apache.org/doc/r3.6.1/zookeeperAdmin.html#sc_CrossMachineRequirements
Relevant info on that page:
---
For the ZooKeeper service to be active, there must be a majority of
non-failing machines that can communicate with each other. To create a
deployment that can tolerate the failure of F machines, you should count
on deploying 2xF+1 machines. Thus, a deployment that consists of three
machines can handle one failure, and a deployment of five machines can
handle two failures. Note that a deployment of six machines can only
handle two failures since three machines is not a majority. For this
reason, ZooKeeper deployments are usually made up of an odd number of
machines.
---
I could not figure out what your second email was asking. Subject:
has 7 zookeeper server , internet wrong??<123>??<4567>
Thanks,
Shawn