Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-831

[Java Broker] Possible message loss on requeuing of messages on shared queues

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: M2.1
    • Fix Version/s: M2.1
    • Component/s: Broker-J
    • Labels:
      None

      Description

      Changes introduced in QPID-711 to introduce QueueEntry class made worse an existing "misuse" of getDeliveredToConsumer a property of the message. Earlier changes for putting messages on PDQs had used this property as a proxy for whether the queue entry had already been delievered. This is an incorrect usage when a Message has been delivered to multiple queues.

      Fix is to remove the attempted shortcut logic for delivering to PDQs; also use taken( ) rather than getDTC for adjusting queue size on message expiration.

        Attachments

          Activity

            People

            • Assignee:
              rgodfrey Rob Godfrey
              Reporter:
              rgodfrey Rob Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: