Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21352 FLIP-158: Generalized incremental checkpoints
  3. FLINK-21504

State ownership: notify TMs about checkpoint subsumption

    XMLWordPrintableJSON

Details

    Description

      Goal: enable TMs to discard state after subsumption (FLINK-23139).

      Proposed solution: include earliest non-subsumed checkpoint ID into checkpoint confirmation notification.

      Code-wise, it would require passing the checkpoint ID through many existing CheckpointListener implementations (e.g. Task). CheckpointListener is a public interface and should not be concerned with retained checkpoints (runtime detail). So it's better to remove "implements" from such classes and either call methods directly or introduce a new (runtime) interface if necessary.

       

       See state ownership design doc, in particular subsumption notifications

      Attachments

        Issue Links

          Activity

            People

              yunta Yun Tang
              roman Roman Khachatryan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: