You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Han Yin (Jira)" <ji...@apache.org> on 2025/02/17 08:54:00 UTC
[jira] [Created] (FLINK-37335) ForSt fails to generate the first checkpoint in IncrementalCP and NO_CLAIM mode.
Han Yin created FLINK-37335:
-------------------------------
Summary: ForSt fails to generate the first checkpoint in IncrementalCP and NO_CLAIM mode.
Key: FLINK-37335
URL: https://issues.apache.org/jira/browse/FLINK-37335
Project: Flink
Issue Type: Bug
Components: Runtime / Checkpointing, Runtime / State Backends
Reporter: Han Yin
The {{ForStIncrementalSnapshotStrategy}} throws an exception if it encounters a {{sharingFilesStrategy}} of {{FORWARD}} when generating asynchronous snapshots. This behavior is designed to fail early in unexpected situations where full checkpoints are required for the incremental snapshot strategy.
However, this incorrectly handles the following scenario: When incremental checkpoints are enabled and the job is restored in {{NO_CLAIM}} mode, the first checkpoint should be a full checkpoint, meaning the {{sharingFilesStrategy}} would be {{{}FORWARD{}}}.
To address this issue, we let {{ForStIncrementalSnapshotStrategy}} skip throwing an exception if it encounters {{FORWARD}} but there are no previous snapshots to reuse.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)