You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2015/02/27 02:26:04 UTC
[jira] [Created] (CURATOR-190)
PersistentEphemeralNode.Mode.PROTECTED_EPHEMERAL creates new node on
recreate
John Vines created CURATOR-190:
----------------------------------
Summary: 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.7.1, 2.7.0, 2.6.0
Reporter: John Vines
Assignee: Jordan Zimmerman
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)