You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2010/06/29 11:49:53 UTC

[jira] Created: (QPID-2703) Transaction Rollback does not restore consumer credit - TRUNK MERGE

Transaction Rollback does not restore consumer credit - TRUNK MERGE
-------------------------------------------------------------------

                 Key: QPID-2703
                 URL: https://issues.apache.org/jira/browse/QPID-2703
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.6
            Reporter: Martin Ritchie
            Assignee: Martin Ritchie


When a transaction rollback 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (QPID-2703) Transaction Rollback does not restore consumer credit - TRUNK MERGE

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883490#action_12883490 ] 

Martin Ritchie commented on QPID-2703:
--------------------------------------

This change was only applied to the 0.5.x-dev branch. It needs to be merged to trunk.

> Transaction Rollback does not restore consumer credit - TRUNK MERGE
> -------------------------------------------------------------------
>
>                 Key: QPID-2703
>                 URL: https://issues.apache.org/jira/browse/QPID-2703
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.6
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>
> When a transaction rollback 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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