Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32503 FLIP-285 technical debt
  3. FLINK-31837

Move LeaderElectionDriver instantiated into DefaultLeaderElectionService.register to instantiate the driver lazily

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: