[ https://issues.apache.org/jira/browse/FLINK-37335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xintong Song reassigned FLINK-37335: ------------------------------------ Assignee: Han Yin > 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 > Affects Versions: 2.0.0 > Reporter: Han Yin > Assignee: Han Yin > Priority: Blocker > Labels: pull-request-available > Fix For: 2.0.0 > > > 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)