Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
When the declarative scheduler is in the Restarting state it can expose a fully Canceled EG, because it only overrides getJobStatus, but the archived execution graph still contains the Canceled job state.
This breaks the contract that the EG only transitions into a terminal state once, and never transitions into another state afterwards.
Related to that the Canceling/Failing states can also expose such an EG because State#onGloballyTerminalState is called asynchronously. A globally-terminal EG should only be visible in the Finished state however.
Attachments
Issue Links
- links to