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
v'.
-Flavio
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?