TisonKun commented on a change in pull request #9832: [FLINK-11843] Bind lifespan of Dispatcher to leader session URL: https://github.com/apache/flink/pull/9832#discussion_r336620347
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java ########## @@ -197,19 +191,37 @@ public void onStart() throws Exception { onFatalError(exception); throw exception; } + + startRecoveredJobs(); Review comment: Well I notice that `submitJob` actually have a persisting step which isn't required for a recovered job. But if so, why we do this `onAddedJobGraph`...As is the code works due to we support update job graph(rewrite with the same in all cases though) in job graph store. ---------------------------------------------------------------- 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