Skip to content

[FLINK-39140][checkpoint] Enhance Unaligned Checkpoint ITCases to perform checkpointing during recovery#27688

Draft
1996fanrui wants to merge 2 commits intoapache:masterfrom
1996fanrui:39140/enhance-uc-itcase-during-recovery
Draft

[FLINK-39140][checkpoint] Enhance Unaligned Checkpoint ITCases to perform checkpointing during recovery#27688
1996fanrui wants to merge 2 commits intoapache:masterfrom
1996fanrui:39140/enhance-uc-itcase-during-recovery

Conversation

@1996fanrui
Copy link
Member

What is the purpose of the change

Current Unaligned Checkpoint ITCases only restart once from a normal checkpoint. They do not cover restoring from a checkpoint produced by recovery phase — which is the key scenario for checkpointing during recovery.

Proposed mechanism: After restoring from a checkpoint, wait for the first new checkpoint to be produced, then immediately trigger a restart from it. Repeat for a configurable number of rounds (≥ 2). Whether to rescale depends on the specific test case.

This mechanism works on the current master (validating normal checkpoint recovery). Once checkpointing during recovery is enabled, the same tests automatically cover recovery-phase checkpoint scenarios.

Brief change log

  • [FLINK-39140][checkpoint] Disable CUSTOM_PARTITIONER in unaligned checkpoint it case since it does not work well
  • [FLINK-39140][checkpoint] Enhance Unaligned Checkpoint ITCases to perform checkpointing during recovery

Verifying this change

This is an enhancement for existing ITCase, so it has been covered by testing.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API, i.e., is any changed class annotated with @Public(Evolving): no
  • The serializers: no
  • The runtime per-record code paths (performance sensitive): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
  • The S3 file system connector: no

Documentation

  • Does this pull request introduce a new feature? no

@flinkbot
Copy link
Collaborator

flinkbot commented Feb 26, 2026

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

…ckpoint it case since it does not work well

See FLINK-39162
@1996fanrui 1996fanrui force-pushed the 39140/enhance-uc-itcase-during-recovery branch from 5f293ea to bb0667e Compare February 27, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants