Keith Wall created QPID-6268:
--------------------------------

             Summary: 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.30, 0.28, 0.26, 0.24, 0.22
            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to