n3nash commented on a change in pull request #2374: URL: https://github.com/apache/hudi/pull/2374#discussion_r569194229
########## File path: hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/AbstractHoodieWriteClient.java ########## @@ -599,6 +637,7 @@ public HoodieRestoreMetadata restoreToInstant(final String instantTime) throws H public HoodieCleanMetadata clean(String cleanInstantTime) throws HoodieIOException { LOG.info("Cleaner started"); final Timer.Context timerContext = metrics.getCleanCtx(); + scheduleCleaningAtInstant(cleanInstantTime, Option.empty()); Review comment: I refactored the code to ensure we follow `schedule` -> `inflight` -> `complete` for clean actions as well. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org