Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: drainer组件不报错,但是binlog数据不同步到下游
【TiDB Usage Environment】Production\Testing Environment\POC
【TiDB Version】6.1.0
【Encountered Problem】The drainer component does not report errors, but binlog data is not synchronized to the downstream
【Reproduction Path】
- BR backup database;
- Restore the database to the downstream TiDB
- Scale-out drainer on the original TiDB to transfer binlog real-time data to the downstream;
The transmission network between upstream and downstream is fine;
Drainer logs do not report errors;
Checkpoint records can also be found in the downstream binlog database;
The commit_ts of drainer synchronized data is the timestamp of the backup database;
【Problem Phenomenon and Impact】
Real-time data is not synchronized, binlog is not written to the downstream database;
【Attachments】
- Relevant logs, configuration files, Grafana monitoring (https://metricstool.pingcap.com/)
- TiUP Cluster Display information
- TiUP Cluster Edit config information
- TiDB-Overview monitoring
- Corresponding module Grafana monitoring (if any, such as BR, TiDB-binlog, TiCDC, etc.)
- Corresponding module logs (including logs 1 hour before and after the issue)
If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.