fhan688 commented on code in PR #19226:
URL: https://github.com/apache/hudi/pull/19226#discussion_r3577204247


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/rollback/MergeOnReadRollbackActionExecutor.java:
##########
@@ -90,4 +91,9 @@ protected List<HoodieRollbackStat> 
executeRollback(HoodieRollbackPlan hoodieRoll
     log.info("Time(in ms) taken to finish rollback {}", 
rollbackTimer.endTimer());
     return allRollbackStats;
   }
+
+  private boolean shouldExecuteRollback(HoodieInstant resolvedInstant) {
+    return !resolvedInstant.isRequested()
+        || 
HoodieTimeline.COMPACTION_ACTION.equals(instantToRollback.getAction());

Review Comment:
   > then can you add a check to the flag `isRestore`
   
   done



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to