TiKV node has been taken offline, but TiUP still displays the node information

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

Original topic: tikv节点已下线,tiup仍然显示该节点信息

| username: 普罗米修斯

[TiDB Usage Environment] Production Environment
[TiDB Version] 5.2.4
[Encountered Issue: Problem Phenomenon and Impact]
Two TiKV nodes were taken offline, and there is no information about these two stores in pd-ctl anymore. However, tiup display still shows information about these nodes. How can I remove them?


| username: xingzhenxiang | Original post link

Try executing tiup cluster prune <cluster-name>.

| username: 普罗米修斯 | Original post link

Previously executed, it prompted that there is no such store.

| username: xingzhenxiang | Original post link

Try running tiup cluster prune <cluster-name> --force again.

Alternatively,
run tiup cluster scale-in <cluster-name> --force -N
and then execute
tiup cluster prune <cluster-name>.

| username: 普罗米修斯 | Original post link

Nodes that fail during the scale-in process and are in the N/A state need to be removed from the cluster using scale-in --force; prune will not work. The forced scale-in has been completed.

| username: xingzhenxiang | Original post link

Glad it’s resolved.

| username: zhanggame1 | Original post link

Take a look and learn.

| username: redgame | Original post link

Impressive :+1:t2:

| username: linnana | Original post link

Learned.

| username: system | Original post link

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