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

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

Github user Randgalt commented on the issue:

    https://github.com/apache/curator/pull/182
  
    If I understand this PR correctly, overwriteExisting only applies on the 
first use, right? If so, I'd like to see this renamed to something that better 
reflects it's use. `overwriteInitialExisting` or `overwriteStartingExisting` or 
something.


> Add option to PersistentNode to not overwrite/delete existing node
> ------------------------------------------------------------------
>
>                 Key: CURATOR-373
>                 URL: https://issues.apache.org/jira/browse/CURATOR-373
>             Project: Apache Curator
>          Issue Type: Wish
>          Components: Recipes
>            Reporter: Péter Lakos
>
> Currently, when PersistentNode.start() is called, and a node at the specified 
> path already exists, this existing node's data is overwritten with the 
> PersistentNode's data.
> Similarly, when PersistentNode.close() is called, the node is deleted, even 
> if a node existed at the specified path before PersistentNode.start() was 
> called.
> Add an option to PersistentNode to not overwrite/delete an existing node.



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

Reply via email to