hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] Created: (ZOOKEEPER-137) client watcher objects can lose events
Date Mon, 08 Sep 2008 21:03:44 GMT
client watcher objects can lose events
--------------------------------------

                 Key: ZOOKEEPER-137
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-137
             Project: Zookeeper
          Issue Type: Bug
          Components: java client
    Affects Versions: 3.0.0
            Reporter: Patrick Hunt
            Assignee: Patrick Hunt
             Fix For: 3.0.0


if a single watcher (A) is registered on a single node for both a getdata and exists watch
the second watch event may be lost:

1) getdata("node", A)
2) setdata("node"...)
3) exists("node", A)
4) delete("node"...)

if watch events for 2 is processed on the client (zookeeper.java, zkwatcher) after 3 completes
then the zkwatcher process event method will clear the watch and the subsequent operation's
(4) event will be ignored

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message