You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by rammohan ganapavarapu <ra...@gmail.com> on 2018/09/12 01:20:49 UTC

Have smaller server identifier, so dropping the connection

Is this issue got fixed in 3.4.13 ? i thought it got fixed but i am still
seeing this when leader nodes is with lower myid and reboot a follower with
higher myid.

Have smaller server identifier, so dropping the connection: (3, 2)

Thanks,
Ram

Re: Have smaller server identifier, so dropping the connection

Posted by rammohan ganapavarapu <ra...@gmail.com>.
Andor,

Yes you are right, i miss understood the log message.

Thanks,
Ram

On Fri, Sep 14, 2018 at 3:23 AM Andor Molnar <an...@apache.org> wrote:

> Hi Ram,
>
> I might be missing something from your explanation, but that error message
> alone is not an issue. All ZK nodes open connection to each other, but
> having 2 connections between the same nodes is redundant and one of them
> has to be closed. To decide which one to close ZK use the server
> identifiers: node with smaller id closes the initiated connection. That’s
> the rule and decision is shown in the logs.
>
> Andor
>
>
>
> > On 2018. Sep 12., at 3:20, rammohan ganapavarapu <
> rammohanganap@gmail.com> wrote:
> >
> > Is this issue got fixed in 3.4.13 ? i thought it got fixed but i am still
> > seeing this when leader nodes is with lower myid and reboot a follower
> with
> > higher myid.
> >
> > Have smaller server identifier, so dropping the connection: (3, 2)
> >
> > Thanks,
> > Ram
>
>

Re: Have smaller server identifier, so dropping the connection

Posted by Andor Molnar <an...@apache.org>.
Hi Ram,

I might be missing something from your explanation, but that error message alone is not an issue. All ZK nodes open connection to each other, but having 2 connections between the same nodes is redundant and one of them has to be closed. To decide which one to close ZK use the server identifiers: node with smaller id closes the initiated connection. That’s the rule and decision is shown in the logs.

Andor



> On 2018. Sep 12., at 3:20, rammohan ganapavarapu <ra...@gmail.com> wrote:
> 
> Is this issue got fixed in 3.4.13 ? i thought it got fixed but i am still
> seeing this when leader nodes is with lower myid and reboot a follower with
> higher myid.
> 
> Have smaller server identifier, so dropping the connection: (3, 2)
> 
> Thanks,
> Ram