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 DAD9E10F32 for ; Tue, 3 Mar 2015 21:44:10 +0000 (UTC) Received: (qmail 22403 invoked by uid 500); 3 Mar 2015 21:44:04 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 22356 invoked by uid 500); 3 Mar 2015 21:44:04 -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 22344 invoked by uid 99); 3 Mar 2015 21:44:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 21:44:04 +0000 Date: Tue, 3 Mar 2015 21:44:04 +0000 (UTC) From: "Cameron McKenzie (JIRA)" To: dev@curator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CURATOR-190) PersistentEphemeralNode.Mode.PROTECTED_EPHEMERAL creates new node on recreate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CURATOR-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cameron McKenzie reassigned CURATOR-190: ---------------------------------------- Assignee: Cameron McKenzie (was: Jordan Zimmerman) > PersistentEphemeralNode.Mode.PROTECTED_EPHEMERAL creates new node on recreate > ----------------------------------------------------------------------------- > > Key: CURATOR-190 > URL: https://issues.apache.org/jira/browse/CURATOR-190 > Project: Apache Curator > Issue Type: Bug > Affects Versions: 2.6.0, 2.7.0, 2.7.1 > Reporter: John Vines > Assignee: Cameron McKenzie > > PersistentEphemeralNode, when using a PROTECTED one, will create a new node with a name that looks like it padded itself again. > ex- I had a PEN, /test. With first create, it yielded: > _c_03053942-4e11-4cf2-be75-7e689a9b2e98-test. > I then bounced zk to emulate a disconnect and I saw the following two nodes- > _c_03053942-4e11-4cf2-be75-7e689a9b2e98-_c_03053942-4e11-4cf2-be75-7e689a9b2e98-test > _c_03053942-4e11-4cf2-be75-7e689a9b2e98-test > Every time I bounce it, I prepends another _c_03053942-4e11-4cf2-be75-7e689a9b2e98- onto the node name. All of these nodes seem to live until the PEN is closed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)