zentol commented on code in PR #21849:
URL: https://github.com/apache/flink/pull/21849#discussion_r1223040504
##########
flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java:
##########
@@ -1513,13 +1517,20 @@ private CompletableFuture<Void> waitForTerminatingJob(
throwable));
});
- return jobManagerTerminationFuture.thenAcceptAsync(
+ // keep track of the job as outstanding, if not done
+ if (!jobManagerTerminationFuture.isDone()) {
+ submittedAndWaitingTerminationJobIDs.add(jobId);
+ }
+
+ return FutureUtils.thenAcceptAsyncIfNotDone(
Review Comment:
I think we need to keep the ID to prevent the issue in mentioned
https://github.com/apache/flink/pull/21849/files#r1212786448.
--
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]