TisonKun commented on issue #9832: [FLINK-11843] Bind lifespan of Dispatcher to 
leader session
URL: https://github.com/apache/flink/pull/9832#issuecomment-540322366
 
 
   Thanks for opening this pull request. I have one concern about the 
synchronization between `Dispatcher` and `JobGraphStore`.
   
   Since close async operation and modify job graph store operation both queued 
in main thread, even `Dispatcher` has been revoked leadership the previous 
modification wasn't cancelled. Said `DispatcherRunner` lost leadership and 
re-granted leadership without another leader occurred(e.g., ZK connection 
loss), it is possibly that the previous `Dispatcher` ran modification before it 
was terminated.
   
   If you also consider it is a valid problem, then we can go ahead for a 
solution.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to