zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lei liu <liulei...@gmail.com>
Subject Re: long time full gc
Date Mon, 29 Oct 2012 02:16:10 GMT
After full gc finish, the client receive disconnected event, and reconnect
server, after the reconnect is successful , the client receive the
session expried event form server. So  I think that need to takes a few
milliseconds to receive session expried events from full gc  finish, that's
right?


2012/10/29 Ted Dunning <ted.dunning@gmail.com>

> Yes.  When the GC finishes, it will get the disconnect and session
> expiration event.
>
> You can experiment with what happens by using kill -STOP followed by kill
> -CONT on a ZK client.
>
> On Sun, Oct 28, 2012 at 8:41 AM, lei liu <liulei412@gmail.com> wrote:
>
> > I have one application, that use zk client to create ephemeral znode, the
> > session timout is 30 seconds,  if the application encounter long time
> full
> > gc, example 60 seconds,  after full gc finish,  can the zk client
> > immediately receive session expried event or disconnected event?
> >
> >
> >
> > Thanks,
> > LiuLei
> >
>

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