Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: TiDB 通过binlog 的同步架构经常停止同步
【TiDB Usage Environment】Production Environment
【TiDB Version】v4.0.9
【Encountered Problem】When synchronizing the TiDB database to another TiDB cluster, synchronization frequently stops. Both pump and drainer services are normal, and no errors are found in the logs.
【Reproduction Path】Restarting pump and drainer does not solve the problem
【Problem Phenomenon and Impact】
【Attachments】
There have been two previous instances where synchronization stopped, with the situation being almost the same as above. Previously, the issue was resolved by reconstructing the synchronization, but it feels quite troublesome to do this every time.
Currently, it cannot be determined that the above reason caused the synchronization to stop.
Two TiDB clusters have different versions?
The versions are the same.
Found the reason, it was caused by some tables not having primary keys, which led to the interruption.
The log message does indicate that.
This topic was automatically closed 1 minute after the last reply. No new replies are allowed.