Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Question about SyncConnected notification when server failover


Copy link to this message
-
Re: Question about SyncConnected notification when server failover
When the leader fails a new leader must be elected. Until that time
all servers stop serving (they close any client connections)

Patrick

On Tue, Jul 31, 2012 at 10:51 AM, Jack Luo <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>
>
> During the test of sever failover with zookeeper 3.3.5, I have following
> interesting findings.
>
>
>
> 1)      If the follower sever is shut down, only the clients connecting to
> this failed server get SyncConnected notification.
>
> 2)      If the leader server is shut down, all clients (doesn't matter if
> they connect to follower or leader servers.) get the SyncConnected
> notification.
>
>
>
> From my current understanding, if leader server fails, only the clients
> connecting to it will connect to a new server and receive the SyncConnected
> notification. Look like my understanding is wrong.
>
>
>
> Can anyone tell me that my findings are expected behaviors? Or is there any
> tricky setting in server’s configuration to solve this issue?
>
>
>
> Many thanks!
>
>
>
> Jack