You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/07 12:19:00 UTC

[jira] [Commented] (ARTEMIS-2825) Wrong calculation for DiskStoreUsagePercentage

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

ASF subversion and git services commented on ARTEMIS-2825:
----------------------------------------------------------

Commit 26091f1907dce5a1a9dd9f0d6a5ca976166a5c41 in activemq-artemis's branch refs/heads/master from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=26091f1 ]

ARTEMIS-2825 wrong calc for DiskStoreUsagePercentage

The calculation used by
ActiveMQServerControlImpl.getDiskStoreUsagePercentage() is incorrect. It
uses disk space info with global-max-size which is for address memory.
Also, the existing getDiskStoreUsage() method *already* returns a
percentage of total disk store usage so this method seems redundant.


> Wrong calculation for DiskStoreUsagePercentage 
> -----------------------------------------------
>
>                 Key: ARTEMIS-2825
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2825
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> The calculation used by {{org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.getDiskStoreUsagePercentage()}} is incorrect. It uses disk space info with global-max-size which is for address memory. Also, the existing {{getDiskStoreUsage()}} method _already_ returns a percentage of total disk store usage.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)