danny0405 commented on code in PR #10860:
URL: https://github.com/apache/hudi/pull/10860#discussion_r1534943897
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/HoodieTableFileSystemView.java:
##########
@@ -428,6 +428,7 @@ protected Option<HoodieInstant> getReplaceInstant(final
HoodieFileGroupId fileGr
* @return Stream of latest {@link FileSlice} in the partition path.
*/
public Stream<FileSlice> fetchLatestFileSlicesIncludingInflight(String
partitionPath) {
+ ensurePartitionLoadedCorrectly(partitionPath);
Review Comment:
do we need a read lock guard here? And this method is used for only testing
purpose now, may need to upgrade it as top-level API.
--
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]