uvashishtha opened a new pull request, #29623:
URL: https://github.com/apache/flink/pull/29623

   Backport of https://github.com/apache/flink/pull/29585 (f0e848f81f2).
   
   The runtime change and `DefaultOperatorCoordinatorHandlerTest` apply 
unchanged. `AdaptiveBatchSchedulerITCase` conflicted only because this branch 
lacks the StreamGraph optimization tests; the backport adds just 
`testCancelInterruptsDynamicSourceParallelismInference` and its 
`BlockingParallelismInferenceSource`.
   
   `DefaultOperatorCoordinatorHandler#disposeAllOperatorCoordinators` only 
closed the coordinators of initialized vertices, so with the 
`AdaptiveBatchScheduler` a job cancelled or failed during 
`DynamicParallelismInference#inferParallelism` never closed that source's 
coordinator: the inference ran to completion after the job ended and the 
`SourceCoordinator-<name>` thread leaked. It now closes the coordinators of 
every vertex in the execution graph.
   
   On this branch, `DefaultOperatorCoordinatorHandlerTest` and 
`AdaptiveBatchSchedulerITCase` pass.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code (Claude Opus 5.5)
   


-- 
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]

Reply via email to