Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 集群启动失败check bootstrapped failed,error=“[tikv:9005]Region is unavailable”
【TiDB Usage Environment】Production Environment
【TiDB Version】v6.1.0
【Encountered Problem】Failed to start the cluster, TiDB failed
【Problem Phenomenon and Impact】
tidb.log shows 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 shows issues:
【Suspicions and Questions】
- TiDB and PD are on the same machine and on the same disk, could this be an issue?
- TiKV: Where is the problem with “Region is unavailable”?
- The number of cores on the machine where TiFlash is located is as follows, does it meet the requirements?
【Attachments】
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