luozenglin commented on code in PR #22040:
URL: https://github.com/apache/doris/pull/22040#discussion_r1281452442
##########
fe/fe-core/src/main/java/org/apache/doris/service/ExecuteEnv.java:
##########
@@ -28,10 +33,55 @@ public class ExecuteEnv {
private ConnectScheduler scheduler;
private long startupTime;
+ public static class DiskInfo {
+ private String dirType;
Review Comment:
This class is used elsewhere and should be put in a class file, with
`toThrift` and `fromThrift` as member method
##########
fe/fe-core/src/main/java/org/apache/doris/service/ExecuteEnv.java:
##########
@@ -56,4 +106,55 @@ public MultiLoadMgr getMultiLoadMgr() {
public long getStartupTime() {
return startupTime;
}
+
+ public List<DiskInfo> getDiskInfos() {
+ return this.diskInfos;
+ }
+
+ public List<DiskInfo> refreshAndGetDiskInfo(boolean refresh) {
+ for (DiskInfo disk : diskInfos) {
Review Comment:
Where do followers call this method to update the disk info?
--
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]