danny0405 commented on a change in pull request #3386: URL: https://github.com/apache/hudi/pull/3386#discussion_r686438992
########## 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: It is not that useful to only execute once in the `#open` method. -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org