Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10740 FLIP-27: Refactor Source Interface
  3. FLINK-16357

Extend Checkpoint Coordinator to differentiate between "regional restore" and "full restore".

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • None

    Description

      The ExecutionGraph has the notion of "global failure" (failing the entire execution graph) and "regional failure" (recover a region with transient pipelined data exchanges).
      The latter one is for common failover, the former one is a safety net to handle unexpected failures or inconsistencies (full reset of ExecutionGraph recovers most inconsistencies).

      The OperatorCoordinators should only be reset to a checkpoint in the "global failover" case. In the "regional failover" case, they are only notified of the tasks that are reset and keep their internal state and adjust it for the failed tasks.

      To implement that, the ExecutionGraph needs to forward the information about whether we are restoring from a "regional failure" or from a "global failure".

      Attachments

        Activity

          People

            sewen Stephan Ewen
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: