danny0405 commented on code in PR #8568: URL: https://github.com/apache/hudi/pull/8568#discussion_r1177309173
########## hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/clustering/ClusteringCommitSink.java: ########## @@ -179,7 +179,7 @@ private void doCommit(String instant, HoodieClusteringPlan clusteringPlan, List< TableServiceType.CLUSTER, writeMetadata.getCommitMetadata().get(), table, instant); // whether to clean up the input base parquet files used for clustering - if (!conf.getBoolean(FlinkOptions.CLEAN_ASYNC_ENABLED)) { + if (!conf.getBoolean(FlinkOptions.CLEAN_ASYNC_ENABLED) && !isCleaning) { LOG.info("Running inline clean"); Review Comment: What's the matter if there are multiple cleaning tasks runing here? -- 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