zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gómez Ferro (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-442) need a way to remove watches that are no longer of interest
Date Wed, 26 Oct 2011 10:29:32 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135857#comment-13135857
] 

Daniel Gómez Ferro commented on ZOOKEEPER-442:
----------------------------------------------

I've attached a new patch with the asynchronous call and a mechanism to queue local callbacks
on the event thread, which could also be used in ZOOKEEPER-847.

Vitalii, I don't understand why would we need to keep track of the watcher group's state (normal/deleting/creating),
could you explain?
                
> need a way to remove watches that are no longer of interest
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-442
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-442
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Benjamin Reed
>            Assignee: Daniel Gómez Ferro
>            Priority: Critical
>         Attachments: ZOOKEEPER-442.patch, ZOOKEEPER-442.patch
>
>
> currently the only way a watch cleared is to trigger it. we need a way to enumerate the
outstanding watch objects, find watch events the objects are watching for, and remove interests
in an event.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message