You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "SteNicholas (via GitHub)" <gi...@apache.org> on 2023/07/12 03:56:50 UTC

[GitHub] [hudi] SteNicholas commented on a diff in pull request #9175: [MINOR] StreamWriteOperatorCoordinator stop current instant heartbeat…

SteNicholas commented on code in PR #9175:
URL: https://github.com/apache/hudi/pull/9175#discussion_r1260538162


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/StreamWriteOperatorCoordinator.java:
##########
@@ -362,6 +362,10 @@ private void initClientIds(Configuration conf) {
 
   private void reset() {
     this.eventBuffer = new WriteMetadataEvent[this.parallelism];
+    if (!this.instant.equals(WriteMetadataEvent.BOOTSTRAP_INSTANT)) {
+      writeClient.getHeartbeatClient().stop(instant);

Review Comment:
   This should check whether the failed writes clean policy is lazy.



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org