curator-dev mailing list archives

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


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:
>             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

View raw message