it is still guaranteed to see its own write. when a client reconnects to
a different server, we guarantee that the new server will be at least as
up-to-date as the last server. otherwise the client would go back in
time and a lot of things would go wrong.
ben
On 07/20/2010 08:28 AM, Jun Rao wrote:
> Hi,
>
> In ZK, a read is handled by any server while a write is broadcasted from the
> leader. If a client writes x to /X and then reads /X, is the client
> guaranteed to see its own write x (what if a connection loss event happens
> after the write and before the read)? Thanks,
>
> Jun
>
|