PD node keeps crashing

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

Original topic: pd节点一直down机

| username: whale

[TiDB Usage Environment] Testing/
[TiDB Version] v5.4
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Issue Phenomenon and Impact]
PD node alternates between up and down states
[Resource Configuration]

[Attachments: Screenshots/Logs/Monitoring]

| username: whale | Original post link

I think the problem is that the tidb-server process is not running. You can check if the tidb-server process is running by using the ps command. If it is not running, you can start it using the systemctl start tidb command.

| username: whale | Original post link

The image you provided is not accessible. Please provide the text content you need translated.

| username: songxuecheng | Original post link

At least three nodes are required, currently unable to elect.

| username: whale | Original post link

I only have a single-node PD? Just one, because it’s a test environment. It was working fine before, why does a single node need an election?

| username: 啦啦啦啦啦 | Original post link

Judging by the screenshot, it seems there might be an issue with the status of TiKV. How about checking the TiKV logs?

| username: CuteRay | Original post link

It is recommended to provide the PD logs. There must be error logs when PD goes down or up. Check the relevant error logs. Just looking at the warning logs in TiDB is not very valuable.

| username: songxuecheng | Original post link

A single node is fine as long as there are no issues. It seems that your node has disk I/O problems. For mixed deployments, it is recommended to check the I/O.

| username: tidb狂热爱好者 | Original post link

Your issue has been confirmed to be due to insufficient disk I/O.

| username: system | Original post link

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