How to Resolve Abnormal TiDB-Server Restarts?

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb-server 重启异常如何解决?

| username: tidb尝鲜者

[TiDB Usage Environment] Production Test Environment
[TiDB Version] 6.5.3
[Reproduction Path] What operations were performed when the issue occurred
Shut down the service and power off
tiup cluster stop tidb
Auto-start on boot
[Encountered Issue: Problem Phenomenon and Impact]
tidb-server FATAL cannot start
[Resource Configuration]
Single machine 1 pd 1 tidb 3 tikv 1 tiflash
[Attachments: Screenshots/Logs/Monitoring]
[FATAL] [terror.go:300] [“unexpected error”] [error=“[meta:1050]table already exists”] [stack=“\n\t/home/jenkins/agent/workspace/build-common/go/src/\nmain.createStoreAndDomain\n\t/home/jenkins/agent/workspace/build-common/go/src/\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250”] [stack=“\n\t/home/jenkins/agent/workspace/build-common/go/src/\nmain.createStoreAndDomain\n\t/home/jenkins/agent/workspace/build-common/go/src/\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250”]

| username: tidb菜鸟一只 | Original post link

Is it just a restart? No upgrade? Are PD and TiKV up now, but only TiDB is not up?

| username: tidb尝鲜者 | Original post link

First executed stop and shut down, then started again after a night, only tidb-server couldn’t start, other components started!

| username: Fly-bird | Original post link

Try running start -N on the monitor node.

| username: tidb尝鲜者 | Original post link

The same error occurred.

| username: tidb尝鲜者 | Original post link

The cause of the issue was not found, and it’s unclear whether it was a bug. After upgrading to version 7.1.1, it can start normally!

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.