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 2021/08/11 02:12:45 UTC

[GitHub] [hudi] yuzhaojing commented on a change in pull request #3386: [HUDI-2270] Remove corrupted clean action

yuzhaojing commented on a change in pull request #3386:
URL: https://github.com/apache/hudi/pull/3386#discussion_r686440531



##########
File path: hudi-flink/src/main/java/org/apache/hudi/sink/CleanFunction.java
##########
@@ -90,4 +100,28 @@ public void snapshotState(FunctionSnapshotContext context) throws Exception {
   public void initializeState(FunctionInitializationContext context) throws Exception {
     // no operation
   }
+
+  private void removeCorruptedCleanAction() {
+    HoodieTableMetaClient client = writeClient.getHoodieTable().getMetaClient();
+    HoodieTimeline cleanerTimeline = client.getActiveTimeline().getCleanerTimeline();
+

Review comment:
       Yes, execute this after every clean action is better.




-- 
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