danny0405 commented on code in PR #10116:
URL: https://github.com/apache/hudi/pull/10116#discussion_r1395275031
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewManager.java:
##########
@@ -279,7 +278,13 @@ public static FileSystemViewManager
createViewManager(final HoodieEngineContext
throw new IllegalArgumentException("Secondary Storage type can
only be in-memory or spillable. Was :"
+ viewConfig.getSecondaryStorageType());
}
- return new PriorityBasedFileSystemView(remoteFileSystemView,
secondaryView);
+ if (config.isRemoteViewFirst()) {
+ LOG.info("Creating remote table view first");
+ return new PriorityBasedFileSystemView(remoteFileSystemView,
secondaryView);
+ } else {
+ LOG.info("Creating secondary table view first");
Review Comment:
cc @zhedoubushishi , who have also encountered OOM for async cleaning.
--
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]