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.
On Tue, Aug 31, 2010 at 10:14 AM, Dave Wright <wrig...@gmail.com> wrote:
> I think he's saying that if the socket closes because of a crash (i.e. not
> 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.dunn...@gmail.com>
> > 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.fourn...@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
> > > session.