You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jason Rosenberg (JIRA)" <ji...@apache.org> on 2015/01/16 22:18:34 UTC
[jira] [Commented] (CURATOR-183) TreeCache not properly handling
repeated add/removal of root node
[ https://issues.apache.org/jira/browse/CURATOR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280836#comment-14280836 ]
Jason Rosenberg commented on CURATOR-183:
-----------------------------------------
This has now actually been fixed with this commit: https://github.com/apache/curator/commit/febfceca0b7409136a16d51d211212dea621cdc5
> TreeCache not properly handling repeated add/removal of root node
> -----------------------------------------------------------------
>
> Key: CURATOR-183
> URL: https://issues.apache.org/jira/browse/CURATOR-183
> Project: Apache Curator
> Issue Type: Bug
> Reporter: Jason Rosenberg
> Assignee: Jordan Zimmerman
> Fix For: 2.7.0
>
>
> When using a TreeCache with just a single root node (e.g. maxDepth = 0), if I create the node, then delete it, and then repeat, it fails to send the proper events to the registered TreeCacheListener. Instead of an event sequence like so:
> NODE_ADDED
> NODE_REMOVED
> NODE_ADDED
> NODE_REMOVED
> it instead sent these events:
> NODE_ADDED
> NODE_REMOVED
> NODE_UPDATED
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)