Skip to content

Commit

Permalink
[FLINK-34227][runtime] Adds assertion to chained operation in JobMast…
Browse files Browse the repository at this point in the history
…er#stopJobExecution
  • Loading branch information
XComp committed Jan 31, 2025
1 parent 67e2dc8 commit 04a3dca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,8 @@ private CompletableFuture<Void> stopJobExecution(final Exception cause) {
return FutureUtils.runAfterwards(
terminationFuture,
() -> {
getMainThreadExecutor().assertRunningInMainThread();

shuffleMaster.unregisterJob(executionPlan.getJobID());
disconnectTaskManagerResourceManagerConnections(cause);
stopJobMasterServices();
Expand Down

0 comments on commit 04a3dca

Please sign in to comment.