zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kelly <iv...@yahoo-inc.com>
Subject Re: does a ZK client read its own write
Date Tue, 20 Jul 2010 15:42:23 GMT
Yes, if the client disconnects it will not accept a connection to a  
server with a zxid lower than it's current zxid, which means it will  
see its own previous write.


On 20 Jul 2010, at 17:28, Jun Rao wrote:

> Hi,
> In ZK, a read is handled by any server while a write is broadcasted  
> from the
> leader. If a client writes x to /X and then reads /X, is the client
> guaranteed to see its own write x (what if a connection loss event  
> happens
> after the write and before the read)? Thanks,
> Jun

View raw message