[
https://issues.apache.org/jira/browse/QPID-5107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14521274#comment-14521274
]
Robbie Gemmell edited comment on QPID-5107 at 4/30/15 10:21 AM:
----------------------------------------------------------------
If the previous change fixed something and it was released (though we dont seem
to have set the specific fix-for version) then this JIRA is really finished.
For future change we should open a new JIRA (and set a relation to this one) so
we can track which changes are in which releases.
was (Author: gemmellr):
If the previous change fixed something and it was released (though we dont seem
to have set the specific fix-for version) then this JIRA is really finished.
For future change we should open a new JIRA (and set a relation to this one) we
we can track which changes are in which releases.
> Trace queue&session deletion statistics show zero values for some counters
> everytime
> ------------------------------------------------------------------------------------
>
> Key: QPID-5107
> URL: https://issues.apache.org/jira/browse/QPID-5107
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.22
> Reporter: Pavel Moravec
> Priority: Minor
> Labels: easyfix, easytest, patch
> Attachments: QPID-5107.patch, QPID-5107_debugStats.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Description of problem:
> qpid trace/logs statistics about object deletion. However some of these data
> are wrong. In particular msgDepth for a queue is everytime zero (and
> msgTotalDequeues equals to msgTotalEnqueues despite no consumer was
> subscribed to the queue), or unackedMessages for a session is zero everytime
> as well.
> Version-Release number of selected component (if applicable):
> qpid 0.22
> How reproducible:
> 100%
> Steps to Reproduce:
> 1) msgDepth:0 for queue:
> echo "auth=no" > /etc/qpid/qpidd.conf
> echo "trace=yes" >> /etc/qpid/qpidd.conf
> echo "log-to-file=/tmp/qpidd.log" >> /etc/qpid/qpidd.conf
> rm -rf /var/lib/qpidd/* /tmp/qpidd.log
> service qpidd restart
> qpid-send -m 123 -a "testQueue; {create:always, delete:always}"
> sleep 10 # just to let periodic processing to run & print out the stats
> grep "Mgmt delete queue" /tmp/qpidd.log
> Actual results:
> 2013-08-29 14:05:38 [Model] trace Mgmt delete queue. id:testQueue Statistics:
> {acquires:123, bindingCount:0, bindingCountHigh:0, bindingCountLow:0,
> byteDepth:0, byteFtdDepth:0, byteFtdDequeues:0, byteFtdEnqueues:0,
> bytePersistDequeues:0, bytePersistEnqueues:0, byteTotalDequeues:0,
> byteTotalEnqueues:0, byteTxnDequeues:0, byteTxnEnqueues:0, consumerCount:0,
> consumerCountHigh:0, consumerCountLow:0, discardsLvq:0, discardsOverflow:0,
> discardsPurge:0, discardsRing:0, discardsSubscriber:0, discardsTtl:0,
> flowStopped:False, flowStoppedCount:0, messageLatencyAvg:0,
> messageLatencyCount:0, messageLatencyMax:0, messageLatencyMin:0, msgDepth:0,
> msgFtdDepth:0, msgFtdDequeues:0, msgFtdEnqueues:0, msgPersistDequeues:0,
> msgPersistEnqueues:0, msgTotalDequeues:123, msgTotalEnqueues:123,
> msgTxnDequeues:0, msgTxnEnqueues:0, releases:0, reroutes:0,
> unackedMessages:0, unackedMessagesHigh:0, unackedMessagesLow:0}
> Expected results:
> acquires:0
> msgTotalDequeues:0
> (several other counters are supposed to be wrong as well like byteFtdDequeues)
> 2) Reproducer for unackedMessages:0 for session:
> qpid-send -m 11 -a "myQueue; {create:always}"
> qpid-receive -m 100 -a "myQueue; {create:always}" -f
> (in another terminal)
> qpid-tool
> list connection
> call <ID_of_qpid-receive-connection> close
> and now check result:
> grep Tx /tmp/qpidd.log | grep session
> should return "unackedMessages:11" but returns zero.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]