yihua commented on code in PR #13254:
URL: https://github.com/apache/hudi/pull/13254#discussion_r2076379600
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -417,6 +418,7 @@ private boolean initializeFromFilesystem(String
dataTableInstantTime, List<Metad
}
}
+ Lazy<List<Pair<String, FileSlice>>> lazyLatestMergedPartitionFileSliceList
= getLazyLatestMergedPartitionFileSliceList();
Review Comment:
The point is to reuse it across multiple metadata partition types. The
assumption is that during initialization, the data table does not change, and
the file system view does not change. If this assumption does not hold, there
is a bigger problem of not maintaining the transaction here.
--
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]