XComp commented on PR #22422:
URL: https://github.com/apache/flink/pull/22422#issuecomment-1519947329

   I reverted the changes that were done in 
`DefaultMultipleComponentLeaderElectionService` because they are not necessary 
to make the leader event handling run in a separate thread in 
`DefaultLeaderElectionService` (as figured out in [the comment 
above](https://github.com/apache/flink/pull/22422#discussion_r1175063876). 
`DefaultMultipleComponentLeaderElectionService` will be removed at the end of 
the FLINK-26522 refactoring anyway.
   
   I added a `@NotThreadSafe` annotation to the `LeaderElectionEventHandler` 
interface to acknowledge that the methods of that interface have to be called 
from the same thread.


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to