cshuo commented on code in PR #12849:
URL: https://github.com/apache/hudi/pull/12849#discussion_r1961075955
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/StreamWriteOperatorCoordinator.java:
##########
@@ -449,6 +449,10 @@ private void handleBootstrapEvent(WriteMetadataEvent
event) {
LOG.warn("Reuse current pending Instant {} with {} operationType, "
+ "ignoring empty bootstrap event.", this.instant,
WriteOperationType.INSERT.value());
reset();
+ if (event.isRestored()) {
Review Comment:
IIUC, `event` is definitely restored from state in this branch, as
`this.instant` is a valid instant. So it's ok to just send ack directly without
checking? Correctly me if I miss something.
--
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]