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”]