curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arien Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CURATOR-80) DistributedDoubleBarrier should remove slef before throw exception
Date Fri, 03 Jan 2014 17:50:11 GMT
Arien Chen created CURATOR-80:
---------------------------------

             Summary: DistributedDoubleBarrier should remove slef before throw exception
                 Key: CURATOR-80
                 URL: https://issues.apache.org/jira/browse/CURATOR-80
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
    Affects Versions: 2.3.0
            Reporter: Arien Chen


while enter(), leave() throw exception and checkDeleteOurPath() is not called.
the node is still exists
it will confuse other barrier's enter() , treat it is a valid member.

suggest to add a method release() to remove the node manually
or 
remove the node before throw exception in enter(), leave()



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message