curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evaristo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-25) Create a PersistentEphemeralNode recipe
Date Mon, 10 Jun 2013 20:52:20 GMT

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

Evaristo commented on CURATOR-25:
---------------------------------

Hi there again

The software you have included in the 2.0.2 branch is missing an important feature (in my
opinion) of the recipe that is changing the data during the ephemeral node life cycle.

Your implementation only allows to set data in the constructor. So, if the ephemeral is lost
(e.g. client disconnects from ZK), your implementation will re-create the ephemeral node with
the original. I tried to add to your implementation the possibility to replace the data value
during znode life cycle.

 Regards,

Evaristo
                
> Create a PersistentEphemeralNode recipe
> ---------------------------------------
>
>                 Key: CURATOR-25
>                 URL: https://issues.apache.org/jira/browse/CURATOR-25
>             Project: Apache Curator
>          Issue Type: Task
>          Components: Recipes
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>             Fix For: 2.0.2-incubating
>
>         Attachments: PersistentEphemeralNode.java, TestPersistentEphemeralNode.java
>
>
> Per https://github.com/Netflix/curator/pull/201 and similar requests, create a PersistentEphemeralNode
recipe 

--
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

Mime
View raw message