ccoffline commented on code in PR #9705: URL: https://github.com/apache/incubator-doris/pull/9705#discussion_r879019111
########## 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: Yes, and it seems that `TDisk.getDataUsedCapacity()` only counts all tablets, which means it ignores trash, meta and log -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org