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

ASF GitHub Bot commented on CURATOR-287:
----------------------------------------

Github user Randgalt commented on the pull request:

    https://github.com/apache/curator/pull/123#issuecomment-170971984
  
    PersistentNode is a straight copy of PersistentEphemeralNode. The only 
differences:
    
    * Now accepts any CreateMode
    * Logs a message if the node that exists doesn't match the mode requested 
(i.e. a user reported that an error caused another process to create the node 
as persistent when ephemeral was wanted, etc.)


> PersistentEphemeralNode should be generalized to accept all create modes
> ------------------------------------------------------------------------
>
>                 Key: CURATOR-287
>                 URL: https://issues.apache.org/jira/browse/CURATOR-287
>             Project: Apache Curator
>          Issue Type: New Feature
>          Components: Recipes
>    Affects Versions: 3.0.0, 2.9.1
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>
> With very little change, PersistentEphemeralNode could work with 
> non-ephemeral nodes. There is a good use case for this: permanent nodes that 
> must always exist with some data. It's actually a pain to do this manually 
> with ZK.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to