When a connectionloss happens all the watches are triggered saying that
connectionloss occurred. But on a reconnect the watches are reset
automagically on the new server and will be fired if the change has already
happened or will be reset!
I hope that answers your question.
Thanks
mahadev
On
I think that you are correct, but a real ZK person should answer this.
On Wed, Jun 30, 2010 at 4:48 PM, Bryan Thompson wrote:
> For example, if a client registers a watch, and a state change which would
> trigger that watch occurs _after_ the client has successfuly registered the
> watch with th
Yes. That is true. In particular, your link to a server (or the server
itself) can fail causing your client to switch to a different ZK server and
retry there. This can and often does happen without you knowing.
On Wed, Jun 30, 2010 at 4:48 PM, Bryan Thompson wrote:
> With regard to timelines
mail.com]
Sent: Wednesday, June 30, 2010 7:38 PM
To: Patrick Hunt
Cc: zookeeper-user@hadoop.apache.org; Bryan Thompson
Subject: Re: Guaranteed message delivery until session timeout?
Also this:
Once an update has been applied, it will persist from that time forward until a
client overwrites the
Also this:
Once an update has been applied, it will persist from that time forward
until a client overwrites the update. This guarantee has two corollaries:
If a client gets a successful return code, the update will have been
applied. On some failures (communication errors, timeouts, etc) the clie
On 06/30/2010 09:37 AM, Ted Dunning wrote:
Which API are you talking about? C?
I think that the difference between connection loss and session expiration
might mess you up slightly in your disjunction here.
On Wed, Jun 30, 2010 at 7:45 AM, Bryan Thompson wrote:
I am wondering what guarantee
p.apache.org
> Subject: Re: Guaranteed message delivery until session timeout?
>
> Isn't this the same question that you sent this morning?
>
> On Wed, Jun 30, 2010 at 3:36 PM, Bryan Thompson
> wrote:
>
> > Hello,
> >
> > I am wondering what
Isn't this the same question that you sent this morning?
On Wed, Jun 30, 2010 at 3:36 PM, Bryan Thompson wrote:
> Hello,
>
> I am wondering what guarantees (if any) zookeeper provides for reliable
> messaging for operation return codes up to a session timeout. Basically, I
> would like to know
Which API are you talking about? C?
I think that the difference between connection loss and session expiration
might mess you up slightly in your disjunction here.
On Wed, Jun 30, 2010 at 7:45 AM, Bryan Thompson wrote:
> Hello,
>
> I am wondering what guarantees (if any) zookeeper provides for