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

Set UUID(0L, 0L) as default leader session id

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • Runtime / Coordination
    • None

    Description

      The leader election/retrieval services use the null value as the default leader id in the standalone case but also as no active leader in the ZooKeeper case. This is ambiguous and therefore I propose to change the default leader id to UUID(0L, 0L). Consequently, a null leader id value can then indicate that there is no active leader available.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: