danny0405 commented on code in PR #13402:
URL: https://github.com/apache/hudi/pull/13402#discussion_r2387240953


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -1462,7 +1470,7 @@ public void update(HoodieRollbackMetadata 
rollbackMetadata, String instantTime)
       // The deltacommit that will be rolled back
       HoodieInstant deltaCommitInstant = 
metadataMetaClient.createNewInstant(HoodieInstant.State.COMPLETED,
           HoodieTimeline.DELTA_COMMIT_ACTION, commitToRollbackInstantTime);
-      if 
(metadataMetaClient.getActiveTimeline().getDeltaCommitTimeline().containsInstant(deltaCommitInstant))
 {
+      if 
(metadataMetaClient.getActiveTimeline().getDeltaCommitTimeline().containsInstant(deltaCommitInstant.requestedTime()))
 {

Review Comment:
   this is a regression, should change back to `deltaCommitInstant`. cc 
@nsivabalan 



-- 
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