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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]