Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
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
- blocks
-
FLINK-23139 State ownership: track and discard private state (registry+changelog)
- Closed
- links to