You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/09/12 08:28:20 UTC
[jira] [Created] (QPID-7425) Management delete of a message may
refund credit too early
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org