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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M2.1
    • M2.1
    • Broker-J
    • 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

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: