C client invokes watcher callbacks multiple times
-------------------------------------------------

                 Key: ZOOKEEPER-890
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-890
             Project: Zookeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.3.1
         Environment: Mac OS X 10.6.5
            Reporter: Austin Shoemaker
            Priority: Critical
         Attachments: watcher_twice.c

The collect_session_watchers function in zk_hashtable.c gathers watchers from 
active_node_watchers, active_exist_watchers, and active_child_watchers without 
removing the watchers from the table.

Please see attached repro case and patch.

-- 
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