You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/09/13 00:22:24 UTC

[GitHub] [hudi] yihua commented on a diff in pull request #5963: [HUDI-4300] Add sync clean and archive for compaction service in Spark Env

yihua commented on code in PR #5963:
URL: https://github.com/apache/hudi/pull/5963#discussion_r969033853


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/SparkRDDWriteClient.java:
##########
@@ -326,6 +326,8 @@ protected void completeCompaction(HoodieCommitMetadata metadata,
             + config.getBasePath() + " at time " + compactionCommitTime, e);
       }
     }
+    autoCleanOnCommit();
+    autoArchiveOnCommit(table, true);

Review Comment:
   One table service should not trigger other table services.  Table services should only be triggered by one regular writer.



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org