Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E5F610E27 for ; Fri, 3 Jan 2014 17:50:53 +0000 (UTC) Received: (qmail 74713 invoked by uid 500); 3 Jan 2014 17:50:51 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 74650 invoked by uid 500); 3 Jan 2014 17:50:46 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 74642 invoked by uid 99); 3 Jan 2014 17:50:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 17:50:44 +0000 X-ASF-Spam-Status: No, hits=-2000.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Jan 2014 17:50:42 +0000 Received: (qmail 71660 invoked by uid 99); 3 Jan 2014 17:50:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 17:50:12 +0000 Date: Fri, 3 Jan 2014 17:50:11 +0000 (UTC) From: "Arien Chen (JIRA)" To: dev@curator.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CURATOR-80) DistributedDoubleBarrier should remove slef before throw exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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)