zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@yahoo-inc.com>
Subject Re: zookeeper consistency model?
Date Thu, 29 Apr 2010 14:42:25 GMT
Hi Chen, Let's say that the value of a znode "/test" is initially v  
and client A writes value v' to znode "/test". If the server that  
client B is connected to has not persisted the update operation of A,  
it will read v. If it submits sync before the read, client B will read  


On Apr 29, 2010, at 11:58 AM, Chen Bangzhong wrote:

> If client A and Client B both connects to Zookeeper,  A updates one  
> znode
> and succeed, assume B connects to a server that haven't  persisted the
> update yet, eg. the server is  in minority, what value will B read?  
> new
> value or older value? what if B calls sync before read the znode?

View raw message