Keith Wall created QPID-7980:
--------------------------------
Summary: [Java Broker] Queue delete (or routeToAlternate) leaves
message instance records in the store
Key: QPID-7980
URL: https://issues.apache.org/jira/browse/QPID-7980
Project: Qpid
Issue Type: Bug
Components: Java Broker
Affects Versions: qpid-java-broker-7.0.0
Reporter: Keith Wall
Fix For: qpid-java-broker-7.0.0
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]