Not sure if I understood your question. All operations on Zookeeper at done atomically. So if you meant ZooKeeper.create(path, data,. ...) the creation of the node and the set of data are done in single shot. Now if do ZooKeeper.create and then ZooKeeper.setData, other operation from other client can happen between the create and the setData. I heard something of transactions on Zookeeper, but as I have not been following the maillist I do not know if the support exists or will exist.
Regards, Andr[e n Wed, Nov 30, 2011 at 12:25, Jamie Johnson <[email protected]> wrote: > When a call is made to setData is the operation done atomically? I.e. > is it guaranteed that the node and its data are done in one shot such > that any clients trying to read this data do not need to be aware of > the fact that the node could be empty or is it possible that the node > will exist with no data for a short period of time? >
