sync_diff

【 TiDB 使用环境】生产环境 /测试/ Poc
【 TiDB 版本】
【复现路径】做过哪些操作出现的问题
【遇到的问题:问题现象及影响】
【资源配置】
【附件:截图/日志/监控】
使用sync_diff_inspector 进行数据校验的时候报错

[root@tidb02 bin]# ./sync_diff_inspector    --config=config.toml  
A total of 1 tables need to be compared


Comparing the table structure of ``epp`.`insurance_area_face_mode`` ... failure
_____________________________________________________________________________
Progress [============================================================>] 100% 0/0
The structure of `epp`.`insurance_area_face_mode` is not equal, and data-check is skipped

The rest of tables are all equal.
The patch file has been generated in 
	'output/fix-on-tidb0/'
You can view the comparision details through './output/sync_diff.log'

补充下:配置文件里面表结构的校验选择的是false ,但是数据校验的时候还是去校验了表结构

试试用比较新版本的 sync diff 呢

找出原因了,怀疑可以检测出来表结构不已知,但是不能输出修复表结构的SQL。后来将表结构修改为一致,再次执行的时候可以输出修复的SQL

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。