由于scale in tiflash节点一直处于pending offile状态,采用文档和专家们的建议使用删除store id的方式下线tiflash
tiup ctl:v<CLUSTER_VERSION> pd -u http://<pd_ip>:<pd_port> store delete <store_id>
执行之后,tiflash节点变成Tombstone状态,但是使用tiup cluster prune 清理是没有任何提示也没有任何报错。tiflash节点不没有被发现和清理。
这种情况下该如何操作?
既然你已经通过 pd-ctl 手动删除了 Store,TiUP 的 prune 可能会因为无法连接到该节点(如果是强制下线)或状态判断逻辑而失效。此时最直接的方法是直接调用 PD API 清理 Tombstone 。
手动清理 PD 残留 Tombstone试试
谢谢 store remove-tombstone可以了
store remove-tombstone这个命令具体执行了什么内容呢,清除的干净?