Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-183

TreeCache not properly handling repeated add/removal of root node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0, 2.7.1
    • 2.8.0
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dragonsinth Scott Blum
              jbrosenberg@gmail.com Jason Rosenberg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: