[ 
https://issues.apache.org/jira/browse/DISPATCH-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437500#comment-17437500
 ] 

ASF GitHub Bot commented on DISPATCH-1958:
------------------------------------------

ganeshmurthy commented on pull request #1416:
URL: https://github.com/apache/qpid-dispatch/pull/1416#issuecomment-957887593


   > hmmm... I wonder if it would be simpler to make QD_MEMORY_STATS 
non-configurable? IOW, get rid of the flag and just always provide memory 
statistics. It's pretty obvious we haven't tested QD_MEMORY_STATS=OFF as part 
of our CI.
   > 
   > Just an opinion, thoughts?
   
   I am all for getting rid of the flag once and for all and always provide 
memory statistics but first I want to understand why this flag was introduced 
in the first place ? 
   If we decide to keep this flag, we need to augment CI (preferably GHA) to 
test with QD_MEMORY_STATS=OFF. That will add *yet another* build type to the 
already long list of tests we run, so I am inclined to say let's just get rid 
of this flag.
   
   @ted-ross  what do you think ? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to