[
https://issues.apache.org/jira/browse/FLINK-26079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492058#comment-17492058
]
Yuan Mei commented on FLINK-26079:
----------------------------------
> But when recovering from the non-changelog checkpoint, it is first added to
> the Checkpoint store, and wrapping in subsequent checkpoints doesn't help.
* shouldn't claim mode with changelog state backend wrap it first and then be
added to the checkpoint store?
* Conceptually, when claiming: shouldn't we claim as a changelog checkpoint if
we are using changelog state-backend after restoring?
* But I agree that's something we need to figure out after code freeze.
> [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
> Labels: pull-request-available
> 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)