【 TiDB 使用环境】生产环境
【 TiDB 版本】V5.4.0
【遇到的问题】
用sync_diff_inspector验证报错: [FATAL] [main.go:135] [“failed to check data difference”] [error=“analyze value (81951434315, 16748) failed”] [errorVerbose=“analyze value (81951434315, 16748) failed\ngithub.com/pingcap/tidb-tools/pkg/dbutil.AnalyzeValuesFromBuckets\
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb-tools/pkg/dbutil/common.go:547\
github.com/pingcap/tidb-tools/sync_diff_inspector/splitter.(*BucketIterator).produceChunks\
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/splitter/bucket.go:293\
runtime.goexit\
\t/usr/local/go/src/runtime/asm_amd64.s:1571”] [stack=“main.checkSyncState\
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/main.go:135\
main.main\
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/main.go:104\
runtime.main\
\t/usr/local/go/src/runtime/proc.go:250”]
[2022/09/17 02:30:57.119 +08:00] [INFO] [chunks_iter.go:148] [“Stop do produce chunks by context done”]
- 暂时未找到什么已知问题;
- 不过报错发生在这块,应该与要校验的数据类型及数据值有关。
- 目前也没有什么太好查的方法,可以尝试在数据里找找存了 81951434315, 16748 这 2 个值的字段尝试复现问题;
- 只有问题有稳定复现的模型,才能解。
遇到同样的问题