Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
Description
TM should own changelog backend state to prevent re-uploading state on checkpoint abortion (or missing confirmation). A simpler solution to only own aborted state is less maintanable in the long run.
For that, on TM state should be tracked and discarded (on subsumption+materialization; on shutdown).
See state ownership design doc, in particular Tracking private state.
This ticket is about creating TaskStateRegistry and using it in ChangelogStateBackend (for non-materialized part only; for materialized see FLINK-23344).
Externalized checkpoints and savepoints should be supported (or please create a separate ticket).
Retained checkpoints is a separate ticket: FLINK-23251
Attachments
Issue Links
- blocks
-
FLINK-23343 State ownership: prevent shared state deletion on TM
- Closed
-
FLINK-23344 State ownership: track and discard private state (materialized: rocks, heap)
- Closed
- is blocked by
-
FLINK-21504 State ownership: notify TMs about checkpoint subsumption
- Resolved
-
FLINK-21353 Add FS-based StateChangelog implementation
- Closed
-
FLINK-21356 Implement incremental checkpointing and recovery using state changelog
- Closed
-
FLINK-21357 Add periodic materialization
- Closed
- is cloned by
-
FLINK-23344 State ownership: track and discard private state (materialized: rocks, heap)
- Closed
- relates to
-
FLINK-25511 Pre-emptively uploaded changelog not discarded up if materialized before checkpoint
- Closed
- links to