Details
-
Improvement
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
1.0.3
-
None
Description
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.
Attachments
Issue Links
- is related to
-
FLINK-10333 Rethink ZooKeeper based stores (SubmittedJobGraph, MesosWorker, CompletedCheckpoints)
- Open