Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: ERROR 1105 (HY000): rpc error: code = Unavailable desc = keepalive ping failed to receive ACK within timeout
Adding a breakpoint in TiFlash, and then specifying the use of TiFlash for queries on the client side, results in the error: ERROR 1105 (HY000): rpc error: code = Unavailable desc = keepalive ping failed to receive ACK within timeout.
No errors occur without breakpoints.
Heartbeat mechanism…
If you add a breakpoint, the heartbeat will stop, and it will definitely report an error.
How can we debug without adding breakpoints?
Then you need to turn off the heartbeat, otherwise, other nodes will think that the node with the breakpoint has crashed and won’t distribute any data to you.
Use logging for debugging… It seems more reliable…
Do I need to use this code for heartbeat, or should I modify the configuration file? I didn’t find the relevant parameters in the configuration file.
You’ll have to look at the code specifically…
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.