michaeljmarshall commented on PR #16825:
URL: https://github.com/apache/pulsar/pull/16825#issuecomment-1197041479

   Given the documentation here, 
https://zookeeper.apache.org/doc/r3.8.0/zookeeperProgrammers.html, I think 
we're likely fine, though I'm not sure how a crashed zk will affect watches and 
changes made while disconnected.
   
   Here is the relevant section from the above docs:
   
   > Watches are maintained locally at the ZooKeeper server to which the client 
is connected. This allows watches to be lightweight to set, maintain, and 
dispatch. When a client connects to a new server, the watch will be triggered 
for any session events. Watches will not be received while disconnected from a 
server. When a client reconnects, any previously registered watches will be 
reregistered and triggered if needed. In general this all occurs transparently. 
There is one case where a watch may be missed: a watch for the existence of a 
znode not yet created will be missed if the znode is created and deleted while 
disconnected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to