【 TiDB 版本】v5.2.2
【遇到的问题】 其中一台kv节点服务器宕机了,重新启动后没法加入到原来的机器,我就把它缩容,然后在该节点删除了所有元部署文件,然后按照 故障排查 重启tikv 节点后 id 号变了,日志报地址占用 这个博客的操作删除了store id 结果还是报同样的错
该节点tikv.log:
[2022/08/02 05:41:39.275 -04:00] [WARN] [client.rs:138] [“failed to update PD client”] [error=“Other("[components/pd_client/src/util.rs:306]: cancel reconnection due to too small interval")”]
[2022/08/02 05:41:39.276 -04:00] [ERROR] [util.rs:460] [“request failed”] [err_code=KV:PD:gRPC] [err=“Grpc(RpcFailure(RpcStatus { code: 2-UNKNOWN, message: "duplicated store address: id:885953 address:\"192.168.0.241:20160\" version:\"5.2.2\" status_address:\"192.168.0.241:20180\" git_hash:\"7acaec5d9c809439b9b0017711f114b44ffd9a49\" start_timestamp:1659433295 deploy_path:\"/home/tidb/Data/deploy/tikv-20160/bin\" , already registered by id:5 address:\"192.168.0.241:20160\" state:Offline version:\"5.2.2\" status_address:\"192.168.0.241:20180\" git_hash:\"7acaec5d9c809439b9b0017711f114b44ffd9a49\" start_timestamp:1652383550 deploy_path:\"/home/tidb/Deploy/tikv-20160/bin\" last_heartbeat:1656335779395060454 ", details: }))”]
[2022/08/02 05:41:39.276 -04:00] [ERROR] [util.rs:469] [“reconnect failed”] [err_code=KV:PD:Unknown] [err=“Other("[components/pd_client/src/util.rs:306]: cancel reconnection due to too small interval")”]
现在怎么都起不来,中台服务器显示为:offline