zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: is there a good pattern for leases ?
Date Thu, 25 Feb 2010 19:11:16 GMT
Not really.  You have ordering guarantees and you can avoid the whole mess
by using the version numbers when you update the file.  See my other email.

On Thu, Feb 25, 2010 at 2:50 AM, Martin Waite <waite.134@googlemail.com>wrote:

> But to do this, would I need to call sync between steps 2 and 3 to ensure
> the node "FN" was up-to-date - assuming I do not know if I am connected to
> a
> primary ZK instance ?   Would 10K sync calls within a 2 minute period be
> excessive ?
>



-- 
Ted Dunning, CTO
DeepDyve

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message