[
https://issues.apache.org/jira/browse/ZOOKEEPER-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17731469#comment-17731469
]
Kezhu Wang commented on ZOOKEEPER-4472:
---------------------------------------
Mark as blocker as discussion in
[https://lists.apache.org/thread/dgnt1xnlf5n9tzt7m4otbodg2qdx3fz4].
This task is a complementary to ZOOKEEPER-4466, ship ZOOKEEPER-4466 without
this make it incomplete as we are going to support multiple different watches
in one path but not all of them in removing. Also, this feature requires
changes in both server and API side, it could be impossible for us to ship it
to patch version of 3.9.x series.
> Support persistent watchers removing individually
> -------------------------------------------------
>
> Key: ZOOKEEPER-4472
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4472
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.6.3, 3.7.0
> Reporter: Kezhu Wang
> Assignee: Kezhu Wang
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 3.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)