J-HowHuang commented on code in PR #15175: URL: https://github.com/apache/pinot/pull/15175#discussion_r1994280527
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/DefaultRebalancePreChecker.java: ########## @@ -138,4 +157,80 @@ private boolean checkIsMinimizeDataMovement(String rebalanceJobId, String tableN return false; } } + + private String checkDiskUtilization(String tableNameWithType, Map<String, Map<String, String>> currentAssignment, Review Comment: There's `DiskUsageInfo getDiskUsageInfoOfInstance(String instanceId)` method doing exactly that. I think we can keep the convention of `checkSomePreCheckItem()` to check individual check item and be called in the `check(TableFacts fact)` method? -- 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...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org