Creating a Sync Task Using Ticdc Changefeed Reports CDC:ErrVersionIncompatibl Error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 使用Ticdc changefeed创建同步任务,报CDC:ErrVersionIncompatibl错误

| username: liusf1993

[TiDB Usage Environment] Production Environment
[TiDB Version] v5.0.6
[Reproduction Path]
The upstream server is a TiDB cluster, and the downstream backup server is a single-node TiDB, both versions are v5.0.6. After adding the ticdc service to the upstream service through scaling, executing

tiup cdc cli changefeed create --pd=http://10.0.10.25:2379 --sink-uri="mysql://root:123456@127.0.0.1:3306/" --changefeed-id="simple-replication-task" --sort-engine="unified"

Prompt: [CDC:ErrVersionIncompatible]version is incompatible: TiKV 5.0.6 is not supported, the minimal compatible version is 5.1.0-alpha
But according to the https://docs.pingcap.com/zh/tidb/v5.0/manage-ticdc documentation, 5.0.2 should be supported.
[Encountered Problem: Problem Phenomenon and Impact] The synchronization task cannot be created successfully.

| username: Billmay表妹 | Original post link

Could you please provide screenshots or exports of all TiCDC monitoring panels? This issue seems to be related to load, and we want to check if there is any abnormal load. Here are a few items that you can check yourself:

  1. The total number of tables that need to be synchronized
  2. The memory usage of the TiCDC process
  3. The total number of TiKV regions that need to be synchronized

This issue is somewhat similar to the one discussed in the following link, you can take a look:

| username: db_user | Original post link

Check the version of CDC. It seems like the CDC version is not quite right.

| username: liusf1993 | Original post link

Indeed, it was an issue with the CDC version. The command I executed using tiup cdc defaulted to the latest version. Specifying the version with tiup cdc:v5.0.6 cli resolved the issue. Thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.