nsivabalan commented on a change in pull request #4294:
URL: https://github.com/apache/hudi/pull/4294#discussion_r768211924
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java
##########
@@ -336,9 +336,10 @@ private void ensurePartitionLoadedCorrectly(String
partition) {
if (!metaClient.getFs().exists(partitionPath)) {
metaClient.getFs().mkdirs(partitionPath);
return new FileStatus[0];
+ } else {
+ return metaClient.getFs().listStatus(partitionPath);
Review comment:
in general, I thought list partitions for any given partition can't have
concurrent callers. across partitions we will parallelize, but for a given
partition, I wasn't aware that there could be concurrent calls. can you throw
some light on when this could happen.
--
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]