本地tidb集群,tidb 扩容提示timed out waiting for port 4000

为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】
本地测试环境
【概述】场景+问题概述

昨晚对本地集群升级 5.1.0 → 5.1.1 ,遇到tiflash异常,原本的本地tiflash就一直有问题。所以升级失败后就没管,当时tidb还能正常提供服务。今天发现tidb 4000 都无法访问,查看集群信息3个节点都是 down ,尝试stop 然后start 无效。故缩容,在扩容。出现 timed out waiting for port 4000

Error: failed to start tidb: failed to start: 192.168.23.91 tidb-4000.service, please check the instance’s log(/data/tidb-deploy/tidb-4000/log) for more detail.: timed out waiting for port 4000 to be started after 2m0s

【TiDB 版本】

Starting component cluster: /root/.tiup/components/cluster/v1.5.6/tiup-cluster display tidb-dev
Cluster type: tidb
Cluster name: tidb-dev
Cluster version: v5.1.1
Deploy user: tidb
SSH type: builtin
Dashboard URL: http://192.168.23.174:2379/dashboard

scale-out-tidb.log (36.6 KB)

edit-config.txt (2.8 KB)

tidb_slow_query.log (48.6 KB)

tidb_stderr.log (55.8 KB)

tidb.log (862.0 KB)

麻烦反馈下 tiup cluster display {cluster-name} 的结果,以及 192.168.23.91 这个节点的 tidb 日志。

目前已恢复。调整了 tidb_server 的 lease 为60s

1 个赞

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。