zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Rosolek <rroso...@janestreet.com>
Subject Get_children after create
Date Wed, 26 Aug 2015 09:03:24 GMT
Hi,

Sorry if this question was asked here before, but I couldn't find the
search functionality in the archives.

My question is the following: after create operation is successful, am I
guaranteed to
see the new child when doing get_children on the parent? I have a program,
that seems to be breaking because it makes this assumption. Looking at the
lock recipe at
https://github.com/apache/zookeeper/blob/trunk/src/recipes/lock/src/java/org/apache/zookeeper/recipes/lock/WriteLock.java,
it seems this code does *not* make this assumption and simply keeps
retrying in a tight loop until it finds the child.

Thank you,
Robert

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