[
https://issues.apache.org/jira/browse/CURATOR-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15793151#comment-15793151
]
ASF GitHub Bot commented on CURATOR-373:
----------------------------------------
GitHub user lakospeter91 opened a pull request:
https://github.com/apache/curator/pull/182
CURATOR-373 Add option to PersistentNode to not overwrite/delete existing
node
https://issues.apache.org/jira/browse/CURATOR-373
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ustream/curator CURATOR-373
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/182.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #182
----
commit b229a6fd33a79e5280f014dacedb2f1743fb4619
Author: Lakos Péter <[email protected]>
Date: 2017-01-02T16:41:56Z
CURATOR-373 Add option to PersistentNode to not overwrite/delete existing
node
----
> 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)