How to Test the Physically_Destroyed State of a Stor Node

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

Original topic: 请问如何测试stor节点的physically_destroyed状态

| username: TiDBer_Q6L2quQQ

[TiDB Usage Environment] Production Environment
[TiDB Version] 5.2.1
[Reproduction Path]
After a physical node went down, the following command was executed on PD:
store delete 70059
Subsequently, the following command was executed:
curl -X DELETE, which resulted in the node having a “physically_destroyed” status in the store.
Now I want to remove this status, but I don’t know how to proceed.

The environment is not suitable for screenshots, so I used an image from another post. The main goal now is to revoke the “physically_destroyed” status.

| username: Jellybean | Original post link

Have you ever performed a scale-in to reduce the cluster size? How many TiKV nodes are in the cluster?

| username: yytest | Original post link

Try restarting the host.

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

Are there still leaders and regions on this node?

| username: shigp_TIDBER | Original post link

It is recommended to restart the PD cluster and re-identify the TiKV store.

| username: 友利奈绪 | Original post link

Try restarting the host.

| username: 像风一样的男子 | Original post link

How many nodes are there? If the number of nodes exceeds 3 and one node enters the physically_destroyed state, the region will be migrated to other nodes. Once the migration is complete, the node will automatically shrink irreversibly.

| username: Jack-li | Original post link

Restart the host.

| username: xfworld | Original post link

What is the current status of the cluster?