sync_diff_inspector 提示原库没有表

sync_diff_inspector v5.3.0 版本进行校验时 提示原库没有表 实例查看原库是有,这张表的

[FATAL] [main.go:95] [“failed to initialize diff process”] [error=“from upstream: the source has no table to be compared. target-table is qqnews_sub.sub_news_content_20200630”] [errorVerbose=“the source has no table to be compared. target-table is qqnews_sub.sub_news_content_20200630\ngithub.com/pingcap/tidb-tools/sync_diff_inspector/source.getSourceTableMap\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/source/tidb.go:244\ github.com/pingcap/tidb-tools/sync_diff_inspector/source.NewTiDBSource\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/source/tidb.go:252\ github.com/pingcap/tidb-tools/sync_diff_inspector/source.buildSourceFromCfg\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/source/source.go:181\ github.com/pingcap/tidb-tools/sync_diff_inspector/source.NewSources\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/source/source.go:159\ main.(*Diff).init\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/diff.go:139\ main.NewDiff\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/diff.go:97\ main.checkSyncState\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/main.go:92\ main.main\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/main.go:79\ runtime.main\ \t/usr/local/go/src/runtime/proc.go:225\ runtime.goexit\ \t/usr/local/go/src/runtime/asm_amd64.s:1371\ from upstream”] [stack=“main.checkSyncState\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/main.go:95\ main.main\ \t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb-tools/sync_diff_inspector/main.go:79\ runtime.main\ \t/usr/local/go/src/runtime/proc.go:225”]

1 个赞

表结构属性都一致么

完全一样的 是通过 DM来做了全量的迁移的

或者换个版本校验工具?单独指定校验表看看是否可以

好的 我换成较低版本的试一下 集群是 5.0.0 rc的 工具是 5.3.0 的

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