TiKV Decommissioning Failed to Start

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

Original topic: tikv下线启动失败,

| username: 奋斗的大象

[ERROR] [raft_client.rs:553] [“connection aborted”] [addr=] [receiver_err=“Some(RpcFailure(RpcStatus { code: 14-UNAVAILABLE, message: "failed to connect to all addresses", details: }))”] [sink_error=Some(RemoteStopped)] [store_id=183062372]

| username: Billmay表妹 | Original post link

Please follow the template to ask questions.

| username: yytest | Original post link

The error message you encountered indicates a connection issue occurred while attempting Raft protocol client communication. Specifically, the error message “connection aborted” means that after the client tried to establish a connection, it was actively closed by the other party. This could be due to various reasons, including but not limited to:

  • The target server is not listening for connections at the specified address and port.
  • Network issues prevented the connection request from reaching the target server.
  • Firewall or security settings on the target server blocked the connection request.
  • The application on the target server rejected the connection request.

To resolve this issue, you can take the following steps:

  • Confirm whether the address and port of the target server are correct, and whether the server is running and listening on that port.
  • Check if the network connection is normal, ensuring there are no network failures or configuration errors.
  • Check the firewall or security settings on the target server to ensure they allow connection requests from the client.
  • If the server application is responsible for handling Raft protocol communication, check the application’s log files to determine if there are detailed messages about the connection rejection.