[
https://issues.apache.org/jira/browse/QPID-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15486921#comment-15486921
]
Keith Wall commented on QPID-7425:
----------------------------------
This problem is isolated to the 0-8..0-91 code path. For 0-10, credit is not
restored prematurely (see
org.apache.qpid.server.protocol.v0_10.ServerSession#receivedComplete)
> 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]