codope commented on code in PR #8604:
URL: https://github.com/apache/hudi/pull/8604#discussion_r1230461774
##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/metadata/SparkHoodieBackedTableMetadataWriter.java:
##########
@@ -159,6 +162,13 @@ protected void commit(String instantTime,
Map<MetadataPartitionType, HoodieData<
compactIfNecessary(writeClient, instantTime);
}
+ // It is possible that the given instantTime already exists in metadata
table,
Review Comment:
This came up while I was testing a scenario where record index was enabled
after a few commits. It might be fixed by #8684. I'll check again.
--
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]