Can a TiDB cluster of version 6.5 serve as a replica for a TiDB cluster of version 5.4?

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

Original topic: v6.5 版本的 TiDB 集群能作为 v5.4 版本 TiDB 集群的从库吗

| username: myzz

[TiDB Usage Environment] Production Environment
[TiDB Version] v5.4
[Encountered Problem: Phenomenon and Impact]
Currently, we are using a TiDB cluster from a cloud provider, and the version of the cloud provider’s TiDB cluster is v5.4. Now, we plan to build our own TiDB cluster. Our current idea is to first install and deploy it as a replica of the cloud provider’s TiDB cluster, and later switch to using our own TiDB cluster. However, we want to use a higher version of TiDB. We would like to ask if it is feasible to use a v6.5 cluster as a replica for a v5.4 cluster?

| username: TiDBer_pkQ5q1l0 | Original post link

Sure, you can use TiCDC.

| username: xingzhenxiang | Original post link

There are two methods: ticdc and binlog.

| username: myzz | Original post link

Is the binlog method feasible?

| username: myzz | Original post link

Is binlog feasible?

| username: xingzhenxiang | Original post link

Refer to this document:

| username: TiDBer_pkQ5q1l0 | Original post link

Sure, binlog has some limitations, it is recommended to use TiCDC.

| username: Jellybean | Original post link

TiDB master-slave clusters can be deployed using different versions. You can use the tidb binlog method or the ticdc method. Considering performance and stability issues, it is recommended to use ticdc.

After data synchronization, it is recommended to perform data consistency checks. Here, you can use another official synchronization check tool, sync-diff-inspector, to help you check.

| username: Kongdom | Original post link

Sure, I suggest using TiCDC.

For compatibility, you can refer to this link:

| username: yiduoyunQ | Original post link

Sure.

| username: wzf0072 | Original post link

Use TiCDC

| username: YuchongXU | Original post link

You can use CDC.