zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Shamma <mohammadsha...@gmail.com>
Subject zookeeper client session write-read consistency
Date Tue, 19 Nov 2013 20:51:13 GMT
I have a question about the consistency guarantees of zookeeper.

As far as I understand, zookeeper provides eventual consistency guarantees.
Updates are not guaranteed to be seen by read operations following an
update (reads are not necessarily consistent). The reason behind this is
that reads might be served by a server that was not part of the quorum that
approved of an update (and the server serving the read has not yet received
the update).

I have observed such write/read inconsistencies on operations within the
same client session. Is this behavior expected? This write/read
inconsistency is expected when the read and write are dispatched to
different servers, however it seems a bit odd that writes and reads that
are dispatched against the same server would be inconsistent.

-- 
Mohammad Shamma

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