You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Tang (JIRA)" <ji...@apache.org> on 2019/04/15 16:57:00 UTC
[jira] [Assigned] (FLINK-6984) Do not recover
CompletedCheckpointStore on every restore
[ https://issues.apache.org/jira/browse/FLINK-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yun Tang reassigned FLINK-6984:
-------------------------------
Assignee: Yun Tang
> Do not recover CompletedCheckpointStore on every restore
> --------------------------------------------------------
>
> Key: FLINK-6984
> URL: https://issues.apache.org/jira/browse/FLINK-6984
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / State Backends
> Affects Versions: 1.2.1, 1.3.0, 1.4.0
> Reporter: Stefan Richter
> Assignee: Yun Tang
> Priority: Major
>
> Currently, restoring the latest checkpoint always recovers the {{CompletedCheckpointStore}} in {{CheckpointCoordinator::restoreLatestCheckpointedState(...)}} by calling {{completedCheckpointStore.recover(sharedStateRegistry)}}. I think this is not required on every restore, but can happen only once when the JM becomes leader, e.g. when the {{CheckpointCoordinator}} is created. This can avoid unnecessary work and simplify the logic, e.g. for populating the {{SharedStateRegistry}}, and we could probably also move the ownership for {{SharedStateRegistry}} into some {{AbstractCompletedCheckpontStore}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)