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/05/11 20:17:41 UTC
[jira] Created: (QPID-2596) Transaction Rollback does not restore
consumer credit
Transaction Rollback does not restore consumer credit
-----------------------------------------------------
Key: QPID-2596
URL: https://issues.apache.org/jira/browse/QPID-2596
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] Resolved: (QPID-2596) Transaction Rollback does not restore
consumer credit
Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey resolved QPID-2596.
-------------------------------
Resolution: Fixed
Looks OK to me
> Transaction Rollback does not restore consumer credit
> -----------------------------------------------------
>
> Key: QPID-2596
> URL: https://issues.apache.org/jira/browse/QPID-2596
> 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] Updated: (QPID-2596) Transaction Rollback does not restore
consumer credit
Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Ritchie updated QPID-2596:
---------------------------------
Status: Ready To Review (was: In Progress)
> Transaction Rollback does not restore consumer credit
> -----------------------------------------------------
>
> Key: QPID-2596
> URL: https://issues.apache.org/jira/browse/QPID-2596
> 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