TisonKun commented on issue #9832: [FLINK-11843] Bind lifespan of Dispatcher to 
leader session
URL: https://github.com/apache/flink/pull/9832#issuecomment-540323951
 
 
   The problem above is abstractly actions in `(grant|revoke)Leadership` are 
asynchronous. `(grant|revoke)Leadership` are synchronized inside 
LeaderElectionService but we later drop the synchronization by trigger an 
asynchronous operation. Given that component cannot serve before it confirms 
leadership it might be reasonable we keep synchronization for operations in 
`(grant|revoke)Leadership`.

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

Reply via email to