Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.2.0
-
None
Description
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.
Attachments
Issue Links
- blocks
-
FLINK-4815 Automatic fallback to earlier checkpoints when checkpoint restore fails
- Open
- is superceded by
-
FLINK-17012 Expose stage of task initialization
- Closed
- relates to
-
FLINK-6918 Failing tests: ChainLengthDecreaseTest and ChainLengthIncreaseTest
- Closed
-
FLINK-18983 Job doesn't changed to failed if close function has blocked
- Reopened
- links to