zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Reed <br...@yahoo-inc.com>
Subject Re: does a ZK client read its own write
Date Tue, 20 Jul 2010 15:57:42 GMT
it is still guaranteed to see its own write. when a client reconnects to 
a different server, we guarantee that the new server will be at least as 
up-to-date as the last server. otherwise the client would go back in 
time and a lot of things would go wrong.


On 07/20/2010 08:28 AM, 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