cshuo commented on code in PR #12666:
URL: https://github.com/apache/hudi/pull/12666#discussion_r1923005740


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/StreamWriteOperatorCoordinator.java:
##########
@@ -473,6 +475,19 @@ private void handleEndInputEvent(WriteMetadataEvent event) 
{
     }
   }
 
+  private void filterWriteFailure(WriteMetadataEvent event) throws 
HoodieException {
+    // It will early detect any write failures in each of task and rollback 
the instant
+    // to prevent data loss caused by commit failure after a checkpoint is 
finished successfully.
+    if (!event.isBootstrap()) {

Review Comment:
   why bootstrap is excluded, early failure can also be triggered in this case?



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