Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.16.0, 1.17.0, 1.15.3
Description
We save a UUID in DefaultMultipleComponentLeaderElectionService:195 but use a different one for granting the leadership to each of the components (see DefaultMultipleComponentLeaderElectionService:199).
We reach an inconsistent state if the JM acquired the leadership before another component registers itself at the MultipleComponentLeaderElectionService. In that case, a different session ID is passed than the one that is set for components that have been registered before the leadership was acquired by the JobManager. That could be the case for JobMaster leadershipt.
Attachments
Issue Links
- is related to
-
FLINK-30474 DefaultMultipleComponentLeaderElectionService triggers HA backend change even if it's not the leader
- Closed
- links to