[
https://issues.apache.org/jira/browse/FLINK-31593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709549#comment-17709549
]
Yanfei Lei commented on FLINK-31593:
------------------------------------
[~roman]
> It was likely generated during changelog materialization (becuase it uses
> taskowned/ dir). Materialization is not deterministic, which might explain
> why it didn't show up earlier.
Although "Materialization is not deterministic and uses taskowned/ dir", the
materialized SSTs in use would not be deleted, because materialized handles are
registered separately to JM(FLINK-25478).
According to the
[^FLINK-31593.StatefulJobSavepointMigrationITCase.create_snapshot.log] it can
be seen that when JM shutdown, all shared materialized SSTs are deleted,
because the
[lowestRetained|https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StandaloneCompletedCheckpointStore.java#L149-L184]
was set as {{long.max. }}I think there is something wrong with
`StandaloneCompletedCheckpointStore#shutdown()`.
[~mapohl] I agree with disabling the changelog statebackend for the checkpoint
test runs in order not to block the validation of 1.17-release, and we can open
another ticket to investigate this bug.
> Update reference data for Migration Tests
> -----------------------------------------
>
> Key: FLINK-31593
> URL: https://issues.apache.org/jira/browse/FLINK-31593
> Project: Flink
> Issue Type: Sub-task
> Reporter: Matthias Pohl
> Assignee: Matthias Pohl
> Priority: Major
> Labels: pull-request-available
> Attachments:
> FLINK-31593.StatefulJobSavepointMigrationITCase.create_snapshot.log,
> FLINK-31593.StatefulJobSavepointMigrationITCase.verify_snapshot.log
>
>
> # Update {{CURRENT_VERSION in TypeSerializerUpgradeTestBase}} with the new
> version. This will likely fail some tests because snapshots are missing for
> that version. Generate them, for example in
> {{TypeSerializerUpgradeTestBase.}}
> # (major/minor only) Update migration tests in master to cover migration
> from new version: (search for usages of FlinkV{{{}ersion{}}})
> ** AbstractOperatorRestoreTestBase
> ** CEPMigrationTest
> ** BucketingSinkMigrationTest
> ** FlinkKafkaConsumerBaseMigrationTest
> ** ContinuousFileProcessingMigrationTest
> ** WindowOperatorMigrationTest
> ** StatefulJobSavepointMigrationITCase
> ** StatefulJobWBroadcastStateMigrationITCase
--
This message was sent by Atlassian Jira
(v8.20.10#820010)