curator-dev mailing list archives

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

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

Alex Brasetvik commented on CURATOR-241:
----------------------------------------

Hi Cameron,

Thanks for the rapid response. I was running the test suite and preparing a pull request after
getting the issue number. :-)

Your suspicion is what I found as well, and I've added a fix and a test for it. (The test
fails against the current code that references the local data byte[].)


> 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