Reproduction as follows:
- Create a durable queue
- Send a single persistent message to the queue(I'm using the Qpid JMS Client, but it is not important).
- 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.