How to Stop Scaling Down TiKV and Continue Using This TiKV During the Scaling Down Process

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

Original topic: tikv在缩容过程中如何停止缩容,继续使用这个tikv

| username: TiDBer_KkruFifg

[TiDB Usage Environment] Production Environment / Testing / Poc
Production

[TiDB Version]
v5.4.1

[Reproduction Path] What operations were performed that caused the issue
[Encountered Issue: Issue Phenomenon and Impact]
One TiKV needs maintenance. Before maintenance, a scale-in operation needs to be performed. Ten minutes after executing the scale-in, it was found that maintenance was not needed, so we want to continue using this server and stop the scale-in. How can we stop the scale-in operation? Thank you.

[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots / Logs / Monitoring]

| username: Fly-bird | Original post link

After scaling down, scale up again. The data will be synchronized automatically.

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

In pdctl, check under store to see if the node is in an offline state. If it is, bring it back online directly using the following command:

curl -X POST http://127.0.0.1:2379/pd/api/v1/store/49317/state?state=Up
| username: oceanzhang | Original post link

Marking it, learned.

| username: system | Original post link

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