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

Sequential PersistentNodes with protection don't resync after reconnection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 4.1.0
    • Recipes
    • None

    Description

      When using a PersistentNode with a sequential creation mode (in my case ephemeral but I think persistent would be the same) and "protection" turned on, unexpected duplicate znodes get created upon reconnection after a disconnect (without the sequence suffix), rather than it just taking ownership of the previously created znode.

      I tracked down the cause of this and have made a simple fix.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nickhill Nick Hill
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: