tiup缩容不干净

tiflash节点主机失连,利用tiup缩容后,仍在集群中显示,且配置文件也仍然存在,重启集群时会报错连不上这台主机


curl pd-addr:port/pd/api/v1/stores?state=2
curl -X DELETE pd-addr:port/pd/api/v1/stores/remove-tombstone

删除了,但是集群状态仍显示这个节点,配置文件删除报错


curl http://x:2379/pd/api/v1/config/rules/group/tiflash
curl -v -X DELETE http://x:2379/pd/api/v1/config/rule/tiflash/table-4189-r

查看规则 然后删除

试一下强制缩容tiup cluster scale-in xxx --node {nodeid} --force

可以了,谢谢

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。