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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-broker-7.0.0
    • qpid-java-broker-7.0.0
    • Broker-J
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment