danny0405 commented on code in PR #11124:
URL: https://github.com/apache/hudi/pull/11124#discussion_r1585900571
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -554,8 +554,7 @@ protected void postCommit(HoodieTable table,
HoodieCommitMetadata metadata, Stri
*/
protected void mayBeCleanAndArchive(HoodieTable table) {
autoCleanOnCommit();
- // reload table to that timeline reflects the clean commit
- autoArchiveOnCommit(createTable(config, hadoopConf));
+ autoArchiveOnCommit(table);
Review Comment:
This is unnecessary, we just need to refresh the table metadata active
timeline.
--
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]