【 TiDB 使用环境】生产环境
【 TiDB 版本】v6.1.0
【遇到的问题】启动集群,tidb失败
【问题现象及影响】
tidb.log显示Region is unavailable:
[2022/11/02 10:55:59.137 +08:00] [FATAL] [session.go:3068] [“check bootstrapped failed”] [error=“[tikv:9005]Region is unavailable”] [stack=“github.com/pingcap/tidb/session.getStoreBootstrapVersion\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:3068\ngithub.com/pingcap/tidb/session.BootstrapSession\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:2843\nmain.createStoreAndDomain\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:296\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:202\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250”]
tiflash显示有问题:
【怀疑及问题】
1.tidb和pd在同一台机器上,并且在同一磁盘,会不会有问题
2.tikv:Region is unavailable是哪里出了问题
3.tiflash所在的机器核数如下,是不是不满足需求
【附件】
tidb.log (411.1 KB)
topology.yaml:
pd_servers:
- host: 172.17.0.154
tidb_servers:
- host: 172.17.0.154
tikv_servers:
- host: 172.17.0.155
- host: 172.17.0.156
- host: 172.17.0.157
tiflash_servers:
- host: 172.17.0.158
data_dir: /tidb-data/tiflash-9000
deploy_dir: /tidb-deploy/tiflash-9000
monitoring_servers:
- host: 172.17.0.159
grafana_servers:
- host: 172.17.0.159
alertmanager_servers:
- host: 172.17.0.159