curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-241) PersistentEphemeralNode writes initial data on reconnect
Date Sun, 02 Aug 2015 23:33:04 GMT

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

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

GitHub user alexbrasetvik opened a pull request:

    https://github.com/apache/curator/pull/95

    CURATOR-241: Write updated data on reconnect

    PersistentEphemeralNode can be initialised with certain data, then later updated. If the
client reconnects, the replacing ephemeral should write the updated data.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alexbrasetvik/curator CURATOR-241

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/curator/pull/95.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 #95
    
----
commit 7fd4034e30f2ed3690226d2d78bf9f139df8b491
Author: Alex Brasetvik <alex@brasetvik.com>
Date:   2015-08-02T22:57:51Z

    CURATOR-241: Write updated data on reconnect
    
    PersistentEphemeralNode can be initialised with certain data, then
    later updated. If the client reconnects, the replacing ephemeral
    should write the updated data.

----


> PersistentEphemeralNode writes initial data on reconnect
> --------------------------------------------------------
>
>                 Key: CURATOR-241
>                 URL: https://issues.apache.org/jira/browse/CURATOR-241
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 2.8.0
>            Reporter: Alex Brasetvik
>
> A `PersistentEphemeralNode` initialised with "initial data", then updated using `setData("updated
data")` may overwrite the updated data with "initial data" on reconnect.



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

Mime
View raw message