I see, thanks for the example, I forgot about that aspect of the ZooKeeper API.
Now if I do receive an event, shouldn't they be received in order? On Tue, Sep 24, 2013 at 9:55 AM, Jordan Zimmerman < [email protected]> wrote: > You won't see every create event. Here's a scenario: > > Client 1 has a watch on "/foo". Any client creates "/foo/bar". Client 1 > will get a watch notification for "/foo/bar". Before Client 1 resets the > watch, another Client 2 creates "/foo/two" and deletes it. Client 1 will > never know about "/foo/two". > > NOTE: there are other similar scenarios. > > -JZ > > On Sep 24, 2013, at 9:50 AM, Benjamin Jaton <[email protected]> > wrote: > > About "you cannot reliably see every change that happens to a node in > ZooKeeper", in my case I only use create events which I believe ZooKeeper > guarantees me to see every single one of them. > > >
