[
https://issues.apache.org/jira/browse/QPID-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Moravec resolved QPID-5108.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.25
> session statistics Tx* not updated any time
> -------------------------------------------
>
> Key: QPID-5108
> URL: https://issues.apache.org/jira/browse/QPID-5108
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.22
> Reporter: Pavel Moravec
> Priority: Minor
> Labels: patch
> Fix For: 0.25
>
> Attachments: QPID-5108-improved.patch, QPID-5108.patch
>
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> Description of problem:
> Tx* counters of Session QMF object are everytime zero, regardless if
> transactions are/have been used or not.
> Version-Release number of selected component (if applicable):
> 0.22
> How reproducible:
> 100%
> Steps to Reproduce:
> echo "log-to-file=/tmp/qpidd.log" > /etc/qpid/qpidd.conf
> echo "auth=no" >> /etc/qpid/qpidd.conf
> echo "trace=yes" >> /etc/qpid/qpidd.conf
> rm -rf /tmp/qpidd.log
> service qpidd restart
> qpid-send -m 20 -a "myQueue; {create:always}" --tx 2 --rollback-frequency 2
> sleep 10
> grep Tx /tmp/qpidd.log | grep session
> (optionally, check the the session statistics in qpid-tool)
> Actual results:
> 2013-08-30 10:22:38 [Model] trace Mgmt delete session.
> id:18f9a28a-f5b0-4e9d-9fe7-dc49a1463e6a Statistics: {TxnCommits:0,
> TxnCount:0, TxnRejects:0, TxnStarts:0, clientCredit:0, unackedMessages:0}
> 2013-08-30 10:22:38 [Management] trace Deleting V2
> map={_create_ts:1377850955102035092, _delete_ts:1377850955109735713,
> _object_id:{_agent_epoch:1,
> _object_name:org.apache.qpid.broker:session:18f9a28a-f5b0-4e9d-9fe7-dc49a1463e6a},
> _schema_id:{_class_name:session, _hash:1aaa08d0-c118-ff78-0956-47b9ac9c6849,
> _package_name:org.apache.qpid.broker, _type:_data},
> _update_ts:1377850955102035092, _values:{TxnCommits:0, TxnCount:0,
> TxnRejects:0, TxnStarts:0, attached:False, channelId:1, clientCredit:0,
> connectionRef:{_agent_epoch:1,
> _object_name:org.apache.qpid.broker:connection:127.0.0.1:5672-127.0.0.1:52255},
> detachedLifespan:0, name:18f9a28a-f5b0-4e9d-9fe7-dc49a1463e6a,
> unackedMessages:0,
> vhostRef:{_object_name:org.apache.qpid.broker:vhost:org.apache.qpid.broker:broker:amqp-broker,/}}}
> See "TxnCommits:0, TxnCount:0, TxnRejects:0, TxnStarts:0" in both trace logs
> / qpid-tool
> Expected results:
> TxnCommits:6, TxnCount:11, TxnRejects:5, TxnStarts:1
> (10 transactions, every 2nd rejected, plus one extra at the end)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]