You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/03/14 09:28:00 UTC

[jira] [Created] (FLINK-26630) EmbeddedHaServices is not made for recovery on a single instance

Matthias Pohl created FLINK-26630:
-------------------------------------

             Summary: EmbeddedHaServices is not made for recovery on a single instance
                 Key: FLINK-26630
                 URL: https://issues.apache.org/jira/browse/FLINK-26630
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.15.0
            Reporter: Matthias Pohl


{{EmbeddedHaServices}} (and {{EmbeddedHaServicesWithLeadershipControl}}) provide leader election functionality to work on a single JVM. In FLINK-25235 we introduced the re-instantiation of {{HighAvailabilityServices}} per {{JobManager}} (i.e. {{DispatcherResourceManagerComponent}}) to be able to close the HighAvailabilityServices during the shutdown of a JM and not only at the end of the HA cluster to get closer to a production environment where each JM has its own HAServices instance as well (that became crucial as part of the work of FLINK-24038 which revokes the leadership when it closes the HAServices during a JM shutdown).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)