Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21075 FLIP-160: Adaptive scheduler
  3. FLINK-21380

Restarting/Canceling/Failing expose globally-terminal EG

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: