qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3527) Messages may not acknowledged immediately after receiving in AUTO_ACKNOWLEDGE mode on 0-10 client
Date Wed, 05 Oct 2011 18:14:30 GMT

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

Rajith Attapattu commented on QPID-3527:
----------------------------------------

Actually acknowledgement happens in two ways (based on which ever happens first).

1. Based on the prefetch (or credit window)
2. Based on the ack-flusher thread

First of all, the current behaviour is incorrect as it's the same as DUPS ok.

The first method was to ack every time the number of unacked messages exceeded more than half
the credit window (or prefetch value). I don't know the reasons behind why it was done this
way. I am guessing performance.

The second method was added by myself as I found when there is a large prefetch window, but
with very slow message flows, no acks are sent at all. And often when the client fails over
all most all messages are replayed. The ack flusher thread prevented that from happening.

When we fix this issue, we would need to ensure we consider performance. We should also make
some noise about this change in the release notes to ensure we don't catch any folks by surprise.

                
> Messages may not acknowledged immediately after receiving in AUTO_ACKNOWLEDGE mode on
0-10 client
> -------------------------------------------------------------------------------------------------
>
>                 Key: QPID-3527
>                 URL: https://issues.apache.org/jira/browse/QPID-3527
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>            Reporter: Alex Rudyy
>             Fix For: 0.13
>
>
> In AUTO_ACKNOWLEDGE mode on 0-10 client messages may not acknowledged immediately after
receiving. The message acknowledgement in AA mode is implemented in lazy fashion with flusher
thread. As result of it, the acknowledgement might happened in 1 second (by default) after
receiving the message.

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


Mime
View raw message