TisonKun commented on issue #9832: [FLINK-11843] Bind lifespan of Dispatcher to leader session URL: https://github.com/apache/flink/pull/9832#issuecomment-543040002 Since we fence different leader epoch with different Dispatcher instance, I think `waitForTerminatingJobManager` should be only used in closing the former instance, i.e., `onStop`. Anywhere else especially submission and recovery should not be care about it. I'll give this PR a full pass today and tomorrow.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services