Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4714

Set task state to RUNNING after state has been restored

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              tonywei Wei-Che Wei
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m