thank you Shawn,

second email i want know :


if i have 7 zookeeper server,


if internet error, <123&gt;server in one small master-replica, <4567&gt; server 
in one small master-replica too,
so i want know :
<123&gt;server&nbsp; can have new leader??
and&nbsp;
<4567&gt;server&nbsp; can have new leader??


thank you !




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

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



On 8/31/2021 7:59 PM, ???????? wrote:
&gt; can has a url address ?? or&amp;nbsp; at zookeeper.apache.org&amp;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&gt;??<4567&gt;

Thanks,
Shawn

Reply via email to