danny0405 commented on code in PR #12982:
URL: https://github.com/apache/hudi/pull/12982#discussion_r2026151160
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java:
##########
@@ -701,9 +704,9 @@ public final Stream<Pair<String, CompactionOperation>>
getPendingLogCompactionOp
@Override
public final Stream<HoodieBaseFile> getLatestBaseFiles(String partitionStr) {
try {
- readLock.lock();
String partitionPath = formatPartitionKey(partitionStr);
ensurePartitionLoadedCorrectly(partitionPath);
+ readLock.lock();
Review Comment:
Not really, such as
```java
Map<String, Stream<HoodieBaseFile>> getAllLatestBaseFilesBeforeOrOn(String
maxCommitTime)
```
is the missing one.
--
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]