tisonkun commented on PR #1106: URL: https://github.com/apache/zookeeper/pull/1106#issuecomment-1366449561
@Randgalt I get your point. > similar to code above this and process the watch if needed Although, this can be more trick than it first looks like. Because a persistent watch is always set, only `node.stat.getMzxid() > relativeZxid` indicates a `NodeDataChanged` event. Either the node exists or not cannot indicate `NodeCreated` or `NodeDeleted`. But I think I know what we can do and your original thought now :) -- 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]
