zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 李赫元 <liheyuan...@gmail.com>
Subject Re: when the zookeeper Expired ,may I have to rebuild the watch on a znode?
Date Mon, 04 Jun 2012 15:47:17 GMT
ZK only guarantee on write sequence to zookeeper, not watch recv by client.

2012/6/4 iamct <qddxct@gmail.com>:
> Thank you!
> I have another question。
> I set a watch on one znode。 A change happen,the service my client had
> connected sent the  packet ,but this time,my client becomes partitioned from
> the ZK serving cluster。
>  When my session reconnect,may I get the event?
> I think it is not。
> but in the
> http://zookeeper.apache.org/doc/current/zookeeperProgrammers.html#ch_zkWatches
> said : ZooKeeper provides an ordering guarantee: a client will never see a
> change for which it has set a watch until it first sees the watch event.
> --
> View this message in context: http://zookeeper-user.578899.n2.nabble.com/when-the-zookeeper-Expired-may-I-have-to-rebuild-the-watch-on-a-znode-tp7577513p7577520.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

View raw message