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

Check for leadership with leader session id

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.6.0
    • Fix Version/s: 1.5.1, 1.6.0
    • Labels:
      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

              • Assignee:
                till.rohrmann Till Rohrmann
                Reporter:
                till.rohrmann Till Rohrmann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: