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 2935BFD08 for ; Wed, 1 May 2013 14:58:38 +0000 (UTC) Received: (qmail 80156 invoked by uid 500); 1 May 2013 14:58:38 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 80094 invoked by uid 500); 1 May 2013 14:58:38 -0000 Mailing-List: contact dev-help@curator.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.incubator.apache.org Delivered-To: mailing list dev@curator.incubator.apache.org Received: (qmail 80082 invoked by uid 99); 1 May 2013 14:58:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 14:58:37 +0000 X-ASF-Spam-Status: No, hits=-2002.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; Wed, 01 May 2013 14:58:37 +0000 Received: (qmail 79151 invoked by uid 99); 1 May 2013 14:58:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 14:58:16 +0000 Date: Wed, 1 May 2013 14:58:16 +0000 (UTC) From: "Oleg Shaldybin (JIRA)" To: dev@curator.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CURATOR-18) Create/delete race in LeaderLatch 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 [ https://issues.apache.org/jira/browse/CURATOR-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Shaldybin updated CURATOR-18: ---------------------------------- Attachment: CURATOR-18.patch > Create/delete race in LeaderLatch > --------------------------------- > > Key: CURATOR-18 > URL: https://issues.apache.org/jira/browse/CURATOR-18 > Project: Apache Curator > Issue Type: Bug > Components: Recipes > Affects Versions: 2.0.0 > Reporter: Oleg Shaldybin > Assignee: Jordan Zimmerman > Attachments: CURATOR-18.patch > > > There is a race between creating a node and deleting it. If LeaderLatch is closed while the node creation is in flight, the created node won't get deleted, and latch node will stay in ZK forever. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira