curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-80) DistributedDoubleBarrier should remove slef before throw exception
Date Wed, 22 Jul 2015 22:09:04 GMT

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

Jordan Zimmerman commented on CURATOR-80:
-----------------------------------------

A PR would be appreciated.

> 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.3.4#6332)

Mime
View raw message