You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "stream2000 (via GitHub)" <gi...@apache.org> on 2023/07/12 03:39:59 UTC
[GitHub] [hudi] stream2000 commented on a diff in pull request #9175: [MINOR] StreamWriteOperatorCoordinator stop current instant heartbeat…
stream2000 commented on code in PR #9175:
URL: https://github.com/apache/hudi/pull/9175#discussion_r1260529173
##########
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);
+ this.ckpMetadata.abortInstant(instant);
Review Comment:
wondering if we need abort the ckpMetadata...
--
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