diff --git a/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java index 378ea21cf..12a172377 100644 --- a/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java @@ -159,7 +159,7 @@ public abstract class SourceSplitSerializer readFinishedSplitsInfo(version, in); Map tableChangeMap = readTableSchemas(version, in); int totalFinishedSplitSize = finishedSplitsInfo.size(); - if (version == 3) { + if (version >= 3) { totalFinishedSplitSize = in.readInt(); } in.releaseArrays();