Skip to content

Commit

Permalink
[FLINK-29788][state] Disable changelog temporally when SnapshotMigrat…
Browse files Browse the repository at this point in the history
…ionTestBase triggers native savepoint

This closes apache#21196.
  • Loading branch information
masteryhx authored and HuangXingBo committed Oct 31, 2022
1 parent 6df1ef6 commit c89e400
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ protected final void executeAndSnapshot(

ClusterClient<?> client = miniClusterResource.getClusterClient();

// TODO [FLINK-29802] Remove this after ChangelogStateBackend supports native savepoint.
if (snapshotType == SnapshotType.SAVEPOINT_NATIVE) {
env.enableChangelogStateBackend(false);
}

// Submit the job
JobGraph jobGraph = env.getStreamGraph().getJobGraph();

Expand Down

0 comments on commit c89e400

Please sign in to comment.