[ 
https://issues.apache.org/jira/browse/FLINK-31837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17739124#comment-17739124
 ] 

Matthias Pohl commented on FLINK-31837:
---------------------------------------

Fixing this would also help removing the lazy instantiation that is introduced 
with FLINK-32409

> Move LeaderElectionDriver instantiated into 
> DefaultLeaderElectionService.register to instantiate the driver lazily
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-31837
>                 URL: https://issues.apache.org/jira/browse/FLINK-31837
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>            Reporter: Matthias Pohl
>            Priority: Major
>
> The {{LeaderElectionDriver}} should only be instantiated if there is a 
> contender which wants to participate in the leader election. Therefore, we 
> should call {{LeaderElectionDriver}} instantiation lazily in 
> {{DefaultLeaderElectionService#register}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to