[ 
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)

Reply via email to