YuweiXiao commented on code in PR #6680:
URL: https://github.com/apache/hudi/pull/6680#discussion_r1000187071


##########
hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java:
##########
@@ -139,7 +142,20 @@ public BaseHoodieTableFileIndex(HoodieEngineContext 
engineContext,
     this.engineContext = engineContext;
     this.fileStatusCache = fileStatusCache;
 
-    doRefresh();
+    /**
+     * The `shouldListLazily` variable controls how we initialize the 
TableFileIndex:
+     *  - non-lazy/eager listing (shouldListLazily=true):  all partitions and 
file slices will be loaded eagerly during initialization.

Review Comment:
   Yes! Thanks!



-- 
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]

Reply via email to