[
https://issues.apache.org/jira/browse/DISPATCH-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438195#comment-17438195
]
ASF subversion and git services commented on DISPATCH-1958:
-----------------------------------------------------------
Commit 492cbfe59d73ca31435a0d7dc780529160d9d35c in qpid-dispatch's branch
refs/heads/main from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=492cbfe ]
DISPATCH-1958: Removed the QD_MEMORY_STATS option. Added code to qdstat to
prevent qdstat -m failure when talking to older routers with memory stats
turned off
> Qdstat throws exception when router compiled with `DQD_MEMORY_STATS=OFF`
> ------------------------------------------------------------------------
>
> Key: DISPATCH-1958
> URL: https://issues.apache.org/jira/browse/DISPATCH-1958
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.15.0
> Reporter: Jiri Daněk
> Assignee: Ganesh Murthy
> Priority: Major
> Fix For: 1.18.0
>
>
> From the README
> {noformat}
> -DQD_MEMORY_STATS=
> ------------------
> Dispatch will track memory pool usage statistics if this is enabled.
> {noformat}
> So the statistics may not be always available, depending on the way
> Dispatch is compiled.
> Allocator metrics get reported as 0. I see that {{qdmanage}} works just fine,
> but {{qdstat}} is throwing an error in such case:
> {noformat}
> $ qdstat -m
> 2021-02-04 15:08:19.288818 UTC
> Standalone_v++jCPCjYiQcGo3
> TypeError: unsupported operand type(s) for *: 'int32' and 'NoneType'
> {noformat}
> Found during PR review by [~fgiorget].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]