The GitHub Actions job "Flink CI (beta)" on flink.git/release-2.2 has succeeded.
Run started by GitHub user snuyanzin (triggered by snuyanzin).

Head commit for run:
3647b98eabc8ef1de7a65487fa9cbf255e1b94ff / Aleksandr Savonin 
<[email protected]>
[FLINK-39964][state] Fix unrestorable checkpoint after CLAIM restore from 
native savepoint

The first incremental checkpoint after a CLAIM-mode restore from a native
savepoint reuses the savepoint's SST files as RelativeFileStateHandles. The
metadata serializer stored only their relative path, so on restore they were
resolved against the new checkpoint's exclusive directory and could no longer
be found.

The serializer now knows the exclusive directory of the checkpoint being
written (CheckpointMetadataOutputStream#getExclusiveCheckpointDir, passed down
as a non-null SerializationContext) and keeps the compact relative encoding
only for handles whose file actually lives in that directory; a foreign handle
(a reused savepoint SST) is persisted with its absolute path using the
pre-existing FileStateHandle encoding. The wire format and the metadata version
are unchanged. The state processor API keeps the unconditional relative
encoding via the explicit 
Checkpoints#storeCheckpointMetadataWithoutExclusiveDir,
because its deep copy places every referenced file next to the new metadata.

Generated-by: Claude Opus 4.8 (1M context)
(cherry picked from commit 07bcbd9f1bef8329e68d4837e16a5a963b2818bc)

Report URL: https://github.com/apache/flink/actions/runs/30575966188

With regards,
GitHub Actions via GitBox

Reply via email to