zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kelly <iv...@apache.org>
Subject Re: Is sync effectively recursive?
Date Fri, 22 Sep 2017 18:40:09 GMT
> Then the client A shuts down, and the client B comes up. If the client B
> does a sync on /, is it safe to assume that reading /parent, or
> /parent/childA or any other node is safe meaning that the client B will see
> all the most recent updates made by the client A?
Yes, sync flushes the channels between the connected server and the
leader, so once you call sync, any further requests will see at least
the true state of the cluster at the time the sync was called. I dunno
why it takes a path, since zk has only one log.

-Ivan

Mime
View raw message