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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org