You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/12/16 10:06:13 UTC
[jira] [Resolved] (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:all-tabpanel ]
Keith Wall resolved QPID-6268.
------------------------------
Resolution: Fixed
Changes look reasonable to me.
> 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.18, 0.20, 0.22, 0.24, 0.26, 0.28, 0.30
> Reporter: Keith Wall
> Assignee: Keith Wall
> Priority: Minor
> Fix For: 0.31
>
>
> 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 before rollback (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