扩容tiflash报错

【 TiDB 使用环境】生产环境
【 TiDB 版本】
be started after 2m0s\ngithub

.com/pingcap/tiup/pkg/cluster/module.(*WaitFor).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/module/wait_for.go:92\ngithub.com/pin

gcap/tiup/pkg/cluster/spec.PortStarted\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/instance.go:131\ngithub.com/pingcap/tiup/pkg/clus

ter/spec.(*TiFlashInstance).Ready\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/tiflash.go:913\ngithub.com/pingcap/tiup/pkg/cluster/op

eration.startInstance\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:405\ngithub.com/pingcap/tiup/pkg/cluster/operation.

serialStartInstances\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:547\ngithub.com/pingcap/tiup/pkg/cluster/operation.S

tartComponent\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/action.go:510\ngithub.com/pingcap/tiup/pkg/cluster/operation.Start\n\

Loading...\ngithub.com/pingcap/tiup/pkg/cluster/manager.buildScaleOutTask.func7\n\

Loading...\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Func).Execute\n\tgithub.com/

pingcap/tiup/pkg/cluster/task/func.go:34\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute\n\tgithub.com/pingcap/tiup/pkg/

cluster/task/task.go:86\ngithub.com/pingcap/tiup/pkg/cluster/manager.(*Manager).ScaleOut\n\tgithub.com/pingcap/tiup/pkg/cluster/mana

ger/scale_out.go:215\ngithub.com/pingcap/tiup/components/cluster/command.newScaleOutCmd.func1\n\tgithub.com/pingcap/tiup/components/

cluster/command/scale_out.go:68\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.6.1/command.go:916\ngithub.c

om/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(*Command).Execute\n\tgi

thub.com/spf13/cobra@v1.6.1/command.go:968\ngithub.com/pingcap/tiup/components/cluster/command.Execute\n\tgithub.com/pingcap/tiup/co

mponents/cluster/command/root.go:297\nmain.main\n\tgithub.com/pingcap/tiup/components/cluster/main.go:23\nruntime.main\n\truntime/pr

oc.go:267\nruntime.goexit\n\truntime/asm_amd64.s:1650\nfailed to start: 172.16.54.86 tiflash-9000.service, please check the instance

's log(/mnt/tidb-deploy/tiflash-9000/log) for more detail.\nfailed to start tiflash

Error: failed to start tiflash: failed to start: 172.16.54.86 tiflash-9000.service, please check the instance’s log(/mnt/jydb/tiflas

h-9000/log) for more detail.: timed out waiting for port 3930 to be started after 2m0s

报错很清晰了,看看这个实例启了没有,网络有无问题

是不是混合部署了?

be started after 2m0s

这个错误常见于混合部署了,tiflash启动没cpu,时间过长了。建议把等待时间调大点,再看看能不能起来。

https://docs.pingcap.com/zh/tidb/stable/tiup-component-cluster#--wait-timeoutuint默认-120

1 个赞

很明显实例或网络问题都看看一下。

或者就是,过段时间直接 display 看下新扩容节点的状态,看是不是变正常了

1 个赞