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 (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/17 11:26:51 UTC

[jira] [Resolved] (QPID-2703) Transaction Rollback/Recover does not restore consumer credit

     [ https://issues.apache.org/jira/browse/QPID-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall resolved QPID-2703.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.15
    
> Transaction Rollback/Recover does not restore consumer credit
> -------------------------------------------------------------
>
>                 Key: QPID-2703
>                 URL: https://issues.apache.org/jira/browse/QPID-2703
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6, 0.8, 0.10, 0.12, 0.14, 0.15
>            Reporter: Martin Ritchie
>            Assignee: Keith Wall
>             Fix For: 0.15
>
>
> When a transaction rollback/recover occurs on the 0-8/0-9/0-91 code path the messages are put back on to the queue but the subscriber is not credited for them. This can be seen with a small prefetch. The credit is lost and the client starves. Adding a restoreCredit call in the message release will address this issue.
> The same issue exists in 0-10 code path but for *different* reasons.  On 0-10, a client is required to complete commands.  The Java client currently fails to complete the message.transfer commands that correspond to those messages that must be returned to the Broker due to the rollback/recover and for this reason the Brokers are failing to recredit.   This problem is evident when using the Java Broker, but is masked when using the CPP Broker (by a credit window issue that results in the Broker expanding credit window beyond the requested limit).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org