[jira] [Created] (FLINK-6134) Set UUID(0L, 0L) as default leader session id

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-6134) Set UUID(0L, 0L) as default leader session id

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-6134:
------------------------------------

             Summary: Set UUID(0L, 0L) as default leader session id
                 Key: FLINK-6134
                 URL: https://issues.apache.org/jira/browse/FLINK-6134
             Project: Flink
          Issue Type: Improvement
          Components: Distributed Coordination
    Affects Versions: 1.3.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
            Priority: Minor
             Fix For: 1.3.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)