Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D68710E3E for ; Fri, 16 Jan 2015 21:18:32 +0000 (UTC) Received: (qmail 61064 invoked by uid 500); 16 Jan 2015 21:18:34 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 61011 invoked by uid 500); 16 Jan 2015 21:18:34 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 60998 invoked by uid 99); 16 Jan 2015 21:18:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 21:18:34 +0000 Date: Fri, 16 Jan 2015 21:18:34 +0000 (UTC) From: "Jason Rosenberg (JIRA)" To: dev@curator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CURATOR-183) TreeCache not properly handling repeated add/removal of root node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)