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

[Java Broker] Queue delete (or routeToAlternate) leaves message instance records in the store

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: qpid-java-broker-7.0.0
    • Fix Version/s: qpid-java-broker-7.0.0
    • Component/s: Broker-J
    • Labels:
      None

      Description

      Reproduction as follows:

      1. Create a durable queue
      2. Send a single persistent message to the queue(I'm using the Qpid JMS Client, but it is not important).
      3. Use management to delete queue. The queue is deleted from the configuration and the message record removed from the store, but the message instance is left behind.

      On Broker restart, the fact the message instance is left behind is reported to the logs as a WARN.

      The regression appears to have been caused by QPID-6028. Specifically, the change to the QueueEntryImpl#routeToAlternate method. The change removed the txn#dequeue(). I think this was probably an error.

      This change is only on master.

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              kwall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: