Stephan Ewen created FLINK-4233:
-----------------------------------

             Summary: Simplify leader election / leader session ID assignment
                 Key: FLINK-4233
                 URL: https://issues.apache.org/jira/browse/FLINK-4233
             Project: Flink
          Issue Type: Improvement
          Components: Distributed Coordination
    Affects Versions: 1.0.3
            Reporter: Stephan Ewen


Currently, there are two separate actions and znodes involved in leader 
election and communication of the leader session ID and leader URL.

This leads to some quite elaborate code that tries to make sure that the leader 
session ID and leader URL always eventually converge to those of the leader.

It is simpler to just encode both the ID and the URL into an id-string that is 
attached to the leader latch znode. One would have to create a new leader latch 
each time a contender re-applies for leadership.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to