Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9573

Check for leadership with leader session id

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0, 1.6.0
    • 1.5.1, 1.6.0
    • Runtime / Coordination
    • None

    Description

      In order to check whether a LeaderContender is still the leader, it is not sufficient to simply provide a LeaderElectionService#hasLeadership(). Instead, we should extend this method to also take the leader session id as a parameter to distinguish between different calls from the same leader contender with different leader session ids.

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: