Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Implemented
-
None
Description
After we have modified the operator interface to change close to finish and dispose to close, it would become reasonable for operators to continue taking checkpoint after finished() and before closed(). In fact, we would not have checkpoints after operators get closed, thus it would be reasonable to view operator subtasks as FINISHED once the tasks are finished.
However, there is a special case, if an operator is finished in the restored checkpoints, although in this case we would skip the lifecycle of the operators, the task still need to report a snapshot. Since it is reasonable to keep the operators still be finished in all the following checkpoints, thus the task should tell CheckpointCoordinator about that. Thus we would report a TaskStateSnapshot{isFinished = true} in this case.
Attachments
Issue Links
- links to