Sync_diff_inspector exits before data comparison is completed

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

Original topic: sync_diff_inspector对比数据未完成退出

| username: TiDBer_pkQ5q1l0

[TiDB Usage Environment] Production Environment
[TiDB Version] v5.2.1
[Reproduction Path]
Error as shown in the images

| username: 胡杨树旁 | Original post link

Which two databases are being compared? The second image seems to indicate that the table structures are inconsistent. Check whether the table structures on the source and target ends are consistent. It seems that sync can only compare data from tables with consistent structures.

| username: dba-kit | Original post link

It seems to be a version bug. Try using a higher version.

| username: TiDBer_pkQ5q1l0 | Original post link

It is already the highest version. Comparing the structures, I found that the charset and collation were inconsistent at the beginning. I’ll make them consistent first and then compare again.

| username: TiDBer_pkQ5q1l0 | Original post link

The structure has been made consistent, but it still exits midway. It should be encountering a BUG.

| username: 小王同学Plus | Original post link

How is the sync_diff_inspector configuration file set up?

| username: TiDBer_pkQ5q1l0 | Original post link

The image you provided is not visible. Please provide the text you need translated.