yihua commented on a change in pull request #4971: URL: https://github.com/apache/hudi/pull/4971#discussion_r824349683
########## File path: hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java ########## @@ -519,14 +521,19 @@ public abstract HoodieRestoreMetadata restore(HoodieEngineContext context, String restoreInstantTime, String instantToRestore); + public void rollbackInflightCompaction(HoodieInstant inflightInstant) { + rollbackInflightCompaction(inflightInstant, s -> Option.empty()); + } + /** * Rollback failed compactions. Inflight rollbacks for compactions revert the .inflight file * to the .requested file. * * @param inflightInstant Inflight Compaction Instant */ - public void rollbackInflightCompaction(HoodieInstant inflightInstant) { - String commitTime = HoodieActiveTimeline.createNewInstantTime(); + public void rollbackInflightCompaction(HoodieInstant inflightInstant, Function<String, Option<HoodiePendingRollbackInfo>> getPendingRollbackInstantFunc) { Review comment: Makes sense. -- 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