danny0405 commented on code in PR #10767:
URL: https://github.com/apache/hudi/pull/10767#discussion_r1508363832
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/TestWriteCopyOnWrite.java:
##########
@@ -169,8 +169,10 @@ public void testPartialFailover() throws Exception {
.checkpointThrows(4, "Timeout(1000ms) while waiting for instant
initialize")
.assertEmptyEvent()
.subTaskFails(0, 3)
- // the last checkpoint instant was rolled back by subTaskFails(0, 2)
- // with EAGER cleaning strategy
+ // the last checkpoint instant can not rolled back by subTaskFails(0,
2)
+ // because last data has been snapshot by checkpoint complete but
instant has not been commit
+ // so we need re-commit it
+ .assertEmptyEvent()
.assertNoEvent()
Review Comment:
Should we remove this line?
--
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]