Benjamin Reed commented on ZOOKEEPER-442:

there are two problematic scenarios: 1) an application that has many transient 
interests can register a bunch of watches which wastes memory to monitor the 
watches (granted it is a very small amount of memory) and it cases unnecessary 
processing when those watches are triggered 2) applications need to be prepared 
to ignore watch events that they are no longer interested in.

> 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
> 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.
You can reply to this email to add a comment to the issue online.

Reply via email to