zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: Consistency in zookeeper
Date Fri, 01 Mar 2013 22:01:59 GMT
Even if you do the sync, another client can make a change before you do the subsequent read.

-JZ

On Mar 1, 2013, at 1:50 PM, Martin Kou <bitanarch@gmail.com> wrote:

> Yasin,
> 
> If the two clients are connected to two different ZooKeeper servers in the
> cluster, then, yes.
> 
> Generally, if you're worried that there may be another client working on
> the same key path, then you should sync() before reading.
> 
> Best Regards,
> Martin Kou
> 
> On Fri, Mar 1, 2013 at 1:38 PM, Yasin <yasincelik27@gmail.com> wrote:
> 
>> So, if the read request is made by some other client, it will not get the
>> updated value without sync, right?
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://zookeeper-user.578899.n2.nabble.com/Consistency-in-zookeeper-tp7578531p7578542.html
>> Sent from the zookeeper-user mailing list archive at Nabble.com.
>> 


Mime
View raw message