[
https://issues.apache.org/jira/browse/FLINK-26079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Khachatryan updated FLINK-26079:
--------------------------------------
Description:
Extracted from FLINK-25872.
The issue is with the CLAIM mode:
> Because discarding an initial checkpoint will invalidate its "private" state
> which might be in use by future checkpoints.
> Normally, changelog backend wraps it and registers with tjhe
> SharedStateRegistry.
> But when recovering from non-changelog checkpoint, it is first added to the
> Checkpoint store, and wrapping in subsequent checkpoints doesn't help.
NO_CLAIM mode is not supported.
LEGACY could work.
But it's difficult to differentiate between the modes on TM, where backend type
is reliably known (see the discussion below).
CANONICAL non-changelog savepoints must still be supported.
was:Extracted from FLINK-25872.
> [Changelog] Disallow recovery from non-changelog checkpoints
> ------------------------------------------------------------
>
> Key: FLINK-26079
> URL: https://issues.apache.org/jira/browse/FLINK-26079
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Configuration, Runtime / State Backends
> Reporter: Roman Khachatryan
> Assignee: Roman Khachatryan
> Priority: Blocker
> Fix For: 1.15.0
>
>
> Extracted from FLINK-25872.
> The issue is with the CLAIM mode:
> > Because discarding an initial checkpoint will invalidate its "private"
> > state which might be in use by future checkpoints.
> > Normally, changelog backend wraps it and registers with tjhe
> > SharedStateRegistry.
> > But when recovering from non-changelog checkpoint, it is first added to the
> > Checkpoint store, and wrapping in subsequent checkpoints doesn't help.
> NO_CLAIM mode is not supported.
> LEGACY could work.
> But it's difficult to differentiate between the modes on TM, where backend
> type is reliably known (see the discussion below).
> CANONICAL non-changelog savepoints must still be supported.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)