Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 多副本损坏修复时,执行store delete <store_id>报错

[TiDB Usage Environment] Production Environment / Testing / Poc
Testing
[TiDB Version]
v7.1.0
[Reproduction Path] What operations were performed when the issue occurred
I have three TiKV nodes (single machine deployment). I deleted the disk data of 2 TiKV nodes and then tried to repair the cluster according to 【SOP 系列 18】TiUP 环境恢复 TiKV 副本 - TiDB 的问答社区. In step 7 of the link, restarting the cluster should automatically replenish the lost data directory, but the TiKV logs reported duplicate store errors. After stopping the normal TiKV node, executing store delete <store_id> resulted in an error and could not delete. Please see the screenshot below for the error message.
[Encountered Issue: Issue Phenomenon and Impact]
Executing store delete <store_id> resulted in an error and could not delete.
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]