yanghua commented on a change in pull request #2553:
URL: https://github.com/apache/hudi/pull/2553#discussion_r572820427
##########
File path:
hudi-flink/src/main/java/org/apache/hudi/operator/StreamWriteOperatorCoordinator.java
##########
@@ -153,6 +152,14 @@ public void checkpointCoordinator(long checkpointId,
CompletableFuture<byte[]> r
public void checkpointComplete(long checkpointId) {
// start to commit the instant.
checkAndCommitWithRetry();
+ // start new instant.
+ startInstant();
+ }
+
+ private void startInstant() {
+ this.inFlightInstant = this.writeClient.startCommit();
Review comment:
What do you think about this review suggestion?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]