【 TiDB 使用环境】生产
【 TiDB 版本】v6.1.0
【遇到的问题】
背景: 我通过DM组件把TIDB作为实时复制的从库,上游是MYSQL5.7
问题:现在通过sync_diff_inspector的( 基于 DM 同步场景下的数据校验)
发现数据有不一致?但是我自己检查看不出什么问题?
sync_diff_inspector 的配置如下
check-thread-count = 4
export-fix-sql = true
check-struct-only = false
dm-addr = "http://x.x.x.x:8261"
dm-task = "task_mysql1322033307_incremental"
[task]
output-dir = "./output"
target-check-tables = ["xxx.*"]
sync_diff_inspector的运行结果summary.txt如下
......
......
......
The following tables contains inconsistent data
+---------------------------------+--------------------+----------------+---------+-----------+
| TABLE | STRUCTURE EQUALITY | DATA DIFF ROWS | UPCOUNT | DOWNCOUNT |
+---------------------------------+--------------------+----------------+---------+-----------+
| `xxxxx`.`xxxx` | true | +6913/-6913 | 57885 | 57885 |
+---------------------------------+--------------------+----------------+---------+-----------+
Time Cost: 19.60125373s
【复现路径】做过哪些操作出现的问题
【问题现象及影响】