You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2016/09/29 17:28:20 UTC

[jira] [Created] (FLINK-4714) Set task state to RUNNING after state has been restored

Till Rohrmann created FLINK-4714:
------------------------------------

             Summary: Set task state to RUNNING after state has been restored
                 Key: FLINK-4714
                 URL: https://issues.apache.org/jira/browse/FLINK-4714
             Project: Flink
          Issue Type: Improvement
          Components: Distributed Coordination, State Backends, Checkpointing
    Affects Versions: 1.2.0
            Reporter: Till Rohrmann
             Fix For: 1.2.0


The task state is set to {{RUNNING}} as soon as the {{Task}} is executed. That, however, happens before the state of the {{StreamTask}} invokable has been restored. As a result, the {{CheckpointCoordinator}} starts to trigger checkpoints even though the {{StreamTask}} is not ready.

In order to avoid aborting checkpoints and properly start it, we should switch the task state to {{RUNNING}} after the state has been restored.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)