hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <phu...@gmail.com>
Subject Re: closing session on socket close vs waiting for timeout
Date Tue, 31 Aug 2010 17:42:35 GMT
That's what I read too...

Sounds like having a session type that's bound to the connection lifetime
would be useful. We might want to have an option to turn off ZK heartbeating
and use tcp keep alive for those session types.

Patrick

On Tue, Aug 31, 2010 at 10:14 AM, Dave Wright <wrightd@gmail.com> wrote:

> I think he's saying that if the socket closes because of a crash (i.e. not
> a
> normal zookeeper close request) then the session stays alive until the
> session timeout, which is of course true since ZK allows reconnection and
> resumption of the session in case of disconnect due to network issues.
>
> -Dave Wright
>
> On Tue, Aug 31, 2010 at 1:03 PM, Ted Dunning <ted.dunning@gmail.com>
> wrote:
>
> > That doesn't sound right to me.
> >
> > Is there a Zookeeper expert in the house?
> >
> > On Tue, Aug 31, 2010 at 8:58 AM, Fournier, Camille F. [Tech] <
> > Camille.Fournier@gs.com> wrote:
> >
> > > I foolishly did not investigate the ZK code closely enough and it seems
> > > that closing the socket still waits for the session timeout to remove
> the
> > > session.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message