You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Scott Blum (JIRA)" <ji...@apache.org> on 2015/01/16 22:44:34 UTC
[jira] [Resolved] (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:all-tabpanel ]
Scott Blum resolved CURATOR-183.
--------------------------------
Resolution: Fixed
> 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
> Affects Versions: 2.7.0, 2.7.1
> Reporter: Jason Rosenberg
> Assignee: Scott Blum
> Labels: easyfix
> Fix For: 2.7.2
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> 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)