Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.6.3, 3.7.0
Description
Persistent watchers could only be removed with WatcherType.Any now. I think it is meaningful to remove them individually as they are by naming persistent and will not auto removed in server side.
Together with proposed solution from ZOOKEEPER-4466, it will be clear that ZooKeeper has four kind of watchers:
- Standard data watcher(which includes data and exist watcher in client side).
- Standard child watcher.
- Persistent node watcher(aka. data and child watcher for node).
- Persistent recursive watcher(aka. data watcher for node and its descendants).
See also ZOOKEEPER-4471
Attachments
Issue Links
- relates to
-
ZOOKEEPER-4471 Remove WatcherType.Children break persistent watcher's child events
- Closed
-
ZOOKEEPER-4466 Support different watch modes on same path
- Closed
- links to