You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sihua Zhou (JIRA)" <ji...@apache.org> on 2018/02/26 10:28:00 UTC

[jira] [Created] (FLINK-8777) improve resource release when recovery from failover

Sihua Zhou created FLINK-8777:
---------------------------------

             Summary: improve resource release when recovery from failover
                 Key: FLINK-8777
                 URL: https://issues.apache.org/jira/browse/FLINK-8777
             Project: Flink
          Issue Type: Improvement
          Components: State Backends, Checkpointing
    Affects Versions: 1.5.0
            Reporter: Sihua Zhou
            Assignee: Sihua Zhou
             Fix For: 1.5.0


When recovery from failed, {{TaskLocalStateStoreImpl.retrieveLocalState()}} will be invoked, we can release all entry from {{storedTaskStateByCheckpointID}}  that does not satisfy {{entry.checkpointID == checkpointID}}, this can prevent the resource leak when job loop in {{local checkpoint completed => failed => local checkpoint completed => failed ...}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)