Dumpling导出总是连接上了旧的PD节点

[2021/01/22 10:39:05.627 +08:00] [WARN] [sql.go:368] [“can’t execute query from db”] [query=“SELECT * FROM information_schema.cluster_info where type = ‘pd’;”] [error=“Error 1105: Get http://172.18.52.181:2379/pd/api/v1/config/cluster-version: dial tcp 172.18.52.181:2379: connect: connection refused”]
[2021/01/22 10:39:05.627 +08:00] [ERROR] [main.go:191] [“dump failed error stack info”] [error=“Error 1105: Get http://172.18.52.181:2379/pd/api/v1/config/cluster-version: dial tcp 172.18.52.181:2379: connect: connection refused”] [stack=“github.com/pingcap/log.Error\ \t/go/pkg/mod/github.com/pingcap/log@v0.0.0-20200511115504-543df19646ad/global.go:42\ main.main\ \t/home/jenkins/agent/workspace/build-linux-amd64-4.0/go/src/github.com/pingcap/dumpling/cmd/dumpling/main.go:191\ runtime.main\ \t/usr/local/go/src/runtime/proc.go:203”]

172.18.52.181:2379这台已经是已经下线的节点,但是dumping却连接到了这个,是什么原因呢

请提供以下信息:

  1. dumpling 和 TiDB 的版本号
  2. tiup cluster display {cluster_name} 的结果
  3. 完整的 dumpling 日志

发现重启了db组件就解决了:rofl:

:joy: