curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <>
Subject [jira] [Updated] (CURATOR-56) DistributedQueue znode name grows on re-queue
Date Mon, 23 Sep 2013 01:31:03 GMT


Jordan Zimmerman updated CURATOR-56:

    Fix Version/s: 2.3.0
> DistributedQueue znode name grows on re-queue
> ---------------------------------------------
>                 Key: CURATOR-56
>                 URL:
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 2.2.0-incubating
>         Environment: Zookeeper server version 3.4.5
>            Reporter: Adarsh Bhat
>            Assignee: Jordan Zimmerman
>             Fix For: 2.3.0
>         Attachments: CURATOR-56-testcase.patch
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message