curator-dev mailing list archives

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

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

Mime
View raw message