[
https://issues.apache.org/jira/browse/FLINK-31593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705959#comment-17705959
]
Matthias Pohl commented on FLINK-31593:
---------------------------------------
The specific test run that failed used {{SnapshotType.CHECKPOINT}}.
{{ChangelogStateBackend}} is explicitly disabled for {{SAVEPOINT_NATIVE}} (see
[SnapshotMigrationTestBase:272ff|https://github.com/apache/flink/blob/3856c49af77601cf7943a5072d8c932279ce46b4/flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/SnapshotMigrationTestBase.java#L272]).
I created the snapshot reference data by updating
{{StatefulJobSavepointMigrationITCase.currentVersion}} to
{{FlinkVersion.v1_17}}. and changing
{{StatefulJobSavepointMigrationITCase.executionMode}} to
{{ExecutionMode.CREATE_SNAPSHOT}}. The test data generation was executed while
having {{release-1.17.0}} checked out. This worked without problems for any
other test specification. Only RocksDB state backend + checkpoint seems to have
this problem.
> 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
>
> # 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)