Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13698 Rework threading model of CheckpointCoordinator
  3. FLINK-14344

A preparation for snapshotting master hook state asynchronously

    XMLWordPrintableJSON

    Details

    • Release Note:
      The contract of `MasterTriggerRestoreHook#triggerCheckpoint` (@PublicEvolving api) has changed - we now require it to be non-blocking. Any heavy operation should be executed asynchronously, for example using the given executor.

      Description

      Currently we snapshot the master hook state synchronously. As a part of reworking threading model of CheckpointCoordinator, we have to make this non-blocking to satisfy the requirement of running in main thread.

      The behavior of snapshotting master hook state is similar to task state snapshotting. Master state snapshotting is taken before task state snapshotting. Because in master hook, there might be external system initialization which task state snapshotting might depend on.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                SleePy Biao Liu
                Reporter:
                SleePy Biao Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 20m
                  20m