You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/12 15:49:13 UTC

[jira] [Commented] (QPID-6268) Broker statistic Queue#unacknowledgedMessages is maintained incorrectly when the client rolls-back a session with unacknowledged messages

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

ASF subversion and git services commented on QPID-6268:
-------------------------------------------------------

Commit 1644906 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1644906 ]

QPID-6268 : [Java Broker] increment/decrement the unacknowledge count on the queue precisely when the queue entry changes state

> Broker statistic Queue#unacknowledgedMessages is maintained incorrectly when the client rolls-back a session with unacknowledged messages
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6268
>                 URL: https://issues.apache.org/jira/browse/QPID-6268
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.22, 0.24, 0.26, 0.28, 0.30
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>
> The Broker statistic Queue#unacknowledgedMessages (named "Pre-fetched" on the Queue tab in the Management UI) is incorrectly maintained in the event of a client rollback if the client has one or more unacknowledged messages.
> The defect can be demonstrated using the Python client, where a sequence of receive message, rollback and receive same message and commit on a transacted session,  will leave a erroneous  Queue#unacknowledgedMessages of 1.
> It is not yet clear if the issue is also reproducible from the Qpid JMS Client 0-8..0-91 as this client explicitly rejects messages (thus avoiding the Broker defect).  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org