You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/20 09:09:42 UTC

[GitHub] [incubator-doris] carlvinhust2012 commented on a diff in pull request #9705: [Bug] Fix disk used pct only consider the data that used by Doris

carlvinhust2012 commented on code in PR #9705:
URL: https://github.com/apache/incubator-doris/pull/9705#discussion_r877918676


##########
fe/fe-core/src/main/java/org/apache/doris/clone/BackendLoadStatistic.java:
##########
@@ -187,7 +187,7 @@ public void init() throws LoadBalanceException {
 
             RootPathLoadStatistic pathStatistic = new RootPathLoadStatistic(beId, diskInfo.getRootPath(),
                     diskInfo.getPathHash(), diskInfo.getStorageMedium(),
-                    diskInfo.getTotalCapacityB(), diskInfo.getDataUsedCapacityB(), diskInfo.getState());
+                    diskInfo.getTotalCapacityB(), diskInfo.getDiskUsedCapacityB(), diskInfo.getState());

Review Comment:
   your means that it should statistic the usage of disk instead of the data?



-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org