PD-Server无法启动

我正在进行TiDB迁移性能测试,使用三台华为云组成集群,在插入几千万行数据后CPU占用过高,尝试重启集群,重启集群后 TiDB中的一个PD Server无法启动 错误日志如下:
[“run server failed”] [error=“[PD:leveldb:ErrLevelDBOpen]leveldb: manifest corrupted (field ‘comparer’): missing [file=MANIFEST-000007]: leveldb: manifest corrupted (field ‘comparer’): missing [file=MANIFEST-000007]”] [stack=“main.start\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/cmd/pd-server/main.go:235\nmain.createServerWrapper\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/cmd/pd-server/main.go:147\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/cmd/pd-server/main.go:56\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250”]


集群配置如下:

请问如何修复该PD节点?

文件损坏,scale-in 再scale-out 扩一个吧

1 个赞

pd的data目录下找一下MANIFEST-*文件看看,是不是和现在版本不一样了,不一样的话,只能缩容掉再扩一个了

只能扩容缩容

文件损坏 将这个PD节点scale-in后 再重新scale-out一个新的吧

scale-in scale-out

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