Just google leader election site:zookeeper.apache.org

On Fri, Sep 16, 2022 at 7:39 PM Kaushal Shriyan <kaushalshri...@gmail.com>
wrote:

> Hi,
>
> I am running Zookeeper version: 3.7.0 ( 3 nodes -> 1 Leader and 2
> Followers) on CentOS Linux release 7.9.2009 (Core). In an ensemble of 3
> nodes with 1 leader and 2 followers, if the leader goes down then two
> servers can elect a leader among themselves. I have the below questions.
>
>    1. What is the algorithm used to elect the new leader between the
>    remaining 2 followers?
>    2. During the leader elections process in place, does the client see a
>    503 service unavailable for all read or write requests?
>    3. In an ensemble of 3 nodes with 1 leader and 2 followers. Is there a
>    way to see which node is serving read operations and which node is
> serving
>    write operations?
>
> Please guide me. Any help will be highly appreciable. Thanks in advance.
>
> Best Regards,
>
> Kaushal
>

Reply via email to