[
https://issues.apache.org/jira/browse/FLINK-31837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Pohl resolved FLINK-31837.
-----------------------------------
Fix Version/s: 1.18.0
Resolution: Fixed
master: d2e6b94b374a40551a5cb1a81af2683f4a9ce86d
> 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
> Assignee: Matthias Pohl
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.0
>
>
> 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)