Stefan Richter created FLINK-5019:
-------------------------------------

             Summary: Proper isRestored result for tasks that did not write 
state
                 Key: FLINK-5019
                 URL: https://issues.apache.org/jira/browse/FLINK-5019
             Project: Flink
          Issue Type: Bug
            Reporter: Stefan Richter
            Assignee: Stefan Richter


When a subtask is restored from a checkpoint that does not contain any state 
(e.g. because the subtask did not write state in the previous run), the result 
of {{StateInitializationContext::isRestored}} will incorrectly return false.

We should ensure that empty state is somehow reflected in a checkpoint and 
return true on restore, independent from the presence of state.



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

Reply via email to