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 Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] What operations were performed to cause the issue
[Encountered Issue: Problem Phenomenon and Impact]
My upstream is TIDB 6.1, downstream is MYSQL PerconaServer 5.7, and I set to ignore JSON in sync-diff-inspector, but it doesn’t seem to work? My sync-diff-inspector configuration is as follows:
# Diff Configuration.
######################### Global config #########################
check-thread-count = 4
export-fix-sql = true
check-struct-only = false
######################### Datasource config #########################
[data-sources]
[data-sources.tidb1]
host = "10.x.x.x"
port = 4000
user = "xxx"
password = "xxx"
[data-sources.mysql1]
host = "10.x.x.x"
port = 3308
user = "xxx"
password = "xxx"
########################### Routes ###########################
######################### Task config #########################
[task]
output-dir = "./output"
source-instances = ["tidb1"]
target-instance = "mysql1"
target-check-tables = ["db1.*", "test.*" ]
target-configs = ["config1"]
######################### Table config #########################
[table-configs.config1]
target-tables = ["db1.*"]
ignore-columns = ["json","bit","blob"]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]