[ 
https://issues.apache.org/jira/browse/QPID-7387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420814#comment-15420814
 ] 

Lorenz Quack commented on QPID-7387:
------------------------------------

A potential fix is, when receiving QoS on the broker, to only adjust the credit 
limit and not the credit. This way the credit would more closely reflect the 
state of the prefetch and should also not become negative.

> [0-8..0-91] Mishandling of message credit allows consumers to starve
> --------------------------------------------------------------------
>
>                 Key: QPID-7387
>                 URL: https://issues.apache.org/jira/browse/QPID-7387
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.32, qpid-java-6.0, qpid-java-6.1
>            Reporter: Keith Wall
>         Attachments: WIP_Prevent0-9CreditManagerGoingNegative.patch, 
> WIP_Python0-91PrefetchTest.patch
>
>
> The {{Pre0_10CreditManager}} mishandles message credit. In some circumstances 
> allows message credit to fall beneath 0.  Once this has occurred, messages 
> cease to flow to all consumers associated with the session (messages appear 
> stuck on the queue).  Recreating the session (or connection) will allow 
> messages to flow again.
> This problem was reproduced on a 0.32 derivative but it appears the same 
> issue will affect newer releases too.



--
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