You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Cameron McKenzie (JIRA)" <ji...@apache.org> on 2015/08/03 01:24:04 UTC

[jira] [Commented] (CURATOR-241) PersistentEphemeralNode writes initial data on reconnect

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

Cameron McKenzie commented on CURATOR-241:
------------------------------------------

hey Alex,
Can you provide some more details? I presume this is because the backgroundCallback is referencing the local data byte[] rather than the class variable 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)