Deleting a durable queue while durable messages are queued crashes broker/SQL 
provider
--------------------------------------------------------------------------------------

                 Key: QPID-2183
                 URL: https://issues.apache.org/jira/browse/QPID-2183
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.6
         Environment: Windows
            Reporter: Steve Huston
            Assignee: Steve Huston


If the C++ broker is running with the MS SQL storage provider and a durable 
queue is deleted while there are still durable messages in the queue, the 
broker crashes. Removing the message from the messages table fails with an 
integrity violation because there are still references to the message ID in the 
messages->queues map. Handling that exception throws another one trying to 
close the recordset and the C++ runtime kills the process.

Should probably put the queue, map, message deleting logic in a stored 
procedure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to