Keith Wall created QPID-7425:
--------------------------------

             Summary: Management delete of a message may refund credit too early
                 Key: QPID-7425
                 URL: https://issues.apache.org/jira/browse/QPID-7425
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Keith Wall


As an operator, I am able to delete messages via Management.  Messages can be 
deleted even though they have already been sent to a consumer.    In this case, 
the message is still delete and if the client later acks or rejects a message, 
the ack/reject is ignored, as the message is already gone.

However, internally the Broker restores credit to the consumer at the point in 
time the message is deleted.  This may allow more messages to the flow to the 
consumer, possibly exhausting the client's memory.  This is most likely to 
happen on queues with considerable depth.

In the case where a messages is delete that has already been sent a consumer, 
restore of the credit should be delayed until the client acks/rejects the 
message.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to