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

Pass leadership information by LeaderAddressAndId

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 1.8.0
    • None
    • Runtime / Coordination
    • None

    Description

      We already have LeaderAddressAndId class, and the existing LeaderRetrievalListener#notifyLeaderAddress and LeaderElectionService#confirmLeaderSessionID can benefit from using such an encapsulation to pass leadership information.

      Specifically,

      LeaderRetrievalListener#notifyLeaderAddress(String leaderAddress, UUID leaderSessionID)LeaderRetrievalListener#notifyLeadership(LeaderAddressAndId)

      LeaderElectionService#confirmLeaderSessionID(UUID leaderSessionID)LeaderElectionService#publishLeadership(LeaderAddressAndId)

      An option is rename LeaderAddressAndId to LeadershipInfo.

      cc till.rohrmann

      Attachments

        Issue Links

          Activity

            People

              tison Zili Chen
              tison Zili Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: