zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Churu Tang <ct...@rubiconproject.com>
Subject Re: watch my ephemeral node during network disconnect
Date Mon, 16 Mar 2015 04:10:27 GMT
I see. So the watcher will not be triggered because:
(1) at stage 3, nt’s disconnected
(2) at stage 4, this watcher has already been triggered in stage 3 and will not be triggered
again. Each watcher will only be triggered once unless we manually add the watcher again after
it’s triggered.

Please correct me if I am wrong.
Thanks!

Cheers,
Churu

On Mar 15, 2015, at 7:20 PM, Cameron McKenzie <mckenzie.cam@gmail.com> wrote:

> On
> reconnection, watches need to be reset, so you wouldn't get an event until
> the ephemeral node is created / deleted again.


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