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

DistributedQueue znode name grows on re-queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0-incubating
    • 2.3.0
    • Recipes
    • None
    • Zookeeper server version 3.4.5

    Description

      Create a DistributedQueue with a lockPath. If QueueConsumer.consumeMessage() throws an exception, the message gets re-queued. Every time this happens, the name of the queue item znode grows in length. After many iterations, node names get very large and the server stops accepting new client connections.

      During a re-queue, the new znode created uses the old znode path as the base, and the SEQUENTIAL flag is set. Zookeeper appends a sequence number to the old path (which already had a sequence number), leading to a longer name during each re-queue.

      Attachments

        1. CURATOR-56-testcase.patch
          3 kB
          Adarsh Bhat

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              adarshbhat Adarsh Bhat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: