You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (Updated) (JIRA)" <ji...@apache.org> on 2011/11/09 22:25:51 UTC
[jira] [Updated] (QPID-3602) Fix Consumer message credit issues in
0-10 codepath
[ https://issues.apache.org/jira/browse/QPID-3602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu updated QPID-3602:
-----------------------------------
Description:
Currently there are several issues related to message credits.
1. QPID-2604 - Getting more messages than required by the prefetch value.
2. QPID-3604 - If connection is started and stopped, the client *may* get more messages than required by the prefetch value.
3. QPID-3562 - Prefetch=1 case doesn't work properly.
4. Prefetch-0 case doesn't work properly (well completely broken).
5. Message credits are affected by Command Completions and not message-acks. However these two are intertwined in the logic causing some issues. For example when in client-ack mode or using transactions, if the client has exhausted the credits, but is waiting for more messages to come before it acks or commits a transaction, then the client will appear hung (This issue is currently masked due to some of the above bugs).
was:
Currently there are several issues related to message credits.
1. QPID-2604 - Getting more messages than required by the prefetch value.
2. If connection is started and stopped, the client *may* get more messages than required by the prefetch value (no JIRA).
3. Prefetch=1 case doesn't work properly (QPID-3562).
4. Prefetch-0 case doesn't work properly (well completely broken).
5. Message credits are affected by Command Completions and not message-acks. However these two are intertwined in the logic causing some issues. For example when in client-ack mode or using transactions, if the client has exhausted the credits, but is waiting for more messages to come before it acks or commits a transaction, then the client will appear hung (This issue is currently masked due to some of the above bugs).
> Fix Consumer message credit issues in 0-10 codepath
> ---------------------------------------------------
>
> Key: QPID-3602
> URL: https://issues.apache.org/jira/browse/QPID-3602
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.14
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Fix For: 0.15
>
>
> Currently there are several issues related to message credits.
> 1. QPID-2604 - Getting more messages than required by the prefetch value.
> 2. QPID-3604 - If connection is started and stopped, the client *may* get more messages than required by the prefetch value.
> 3. QPID-3562 - Prefetch=1 case doesn't work properly.
> 4. Prefetch-0 case doesn't work properly (well completely broken).
> 5. Message credits are affected by Command Completions and not message-acks. However these two are intertwined in the logic causing some issues. For example when in client-ack mode or using transactions, if the client has exhausted the credits, but is waiting for more messages to come before it acks or commits a transaction, then the client will appear hung (This issue is currently masked due to some of the above bugs).
--
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