Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: sync_diff_inspector运行报错
【TiDB Usage Environment】Production
【TiDB Version】4.0.9
【Encountered Problem】
I encountered an error when running sync_diff_inspector to verify synchronization between the primary and secondary databases.
Only one table is being verified.
Below is the error log
How should I resolve this issue?
It looks like a checksum failure. According to the error log, 58052 + 58052 does not equal 116103. You can manually check if the count between upstream and downstream is truly synchronized (consistent).
I see that the names of the two tables are inconsistent.
The diff comparison is used precisely because of the inconsistency. The data volume of this table is a bit large, and sync_diff_inspector probably doesn’t support comparison of such large data volumes.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.