【问题描述】:向TIKV中直接写入百万级别的数据后,使用tiup cluster restart重启集群服务,tikv启动成功,tidb启动超时后报错,关闭tikv服务后用tikv-ctl确认可以读取其中的数据;这个是什么原因呢?应该如何解决呢?
启动过程中报错信息:
Starting component pd
Starting instance pd 10.2.10.99:2379
Start pd 10.2.10.99:2379 success
Starting component node_exporter
Starting instance 10.2.10.99
Start 10.2.10.99 success
Starting component blackbox_exporter
Starting instance 10.2.10.99
Start 10.2.10.99 success
Starting component tikv
Starting instance tikv 10.2.10.99:20160
Start tikv 10.2.10.99:20160 success
Starting component tidb
Starting instance tidb 10.2.10.99:4000
retry error: operation timed out after 2m0s
tidb 10.2.10.99:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance
Error: failed to start tidb: tidb 10.2.10.99:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance: timed out waiting for port 4000 to be started after 2m0s
Verbose debug logs has been written to /root/bfm/go-ycsb/logs/tiup-cluster-debug-2020-12-25-09-53-41.log.
Error: run /root/.tiup/components/cluster/v1.2.3/tiup-cluster (wd:/root/.tiup/data/SK8v8E4) failed: exit status 1