Hi,I'm running into following problem writing a fasade for Zk Client (http://github.com/joa23/zkclient/ )
1.) Subscribe a watch via exist(path, true) for a path. 2.) Create a persistent node. 3.) Call exist and it returns true 4.) Zookeeper sends a NodeCreated event.I would expect that the client would get the NodeCreated event before exist returns true. Does anyone has a idea of a pattern that secures that exist return false, before the event is triggered?
Thanks, Stefan