ERROR 1105 (HY000): rpc error: code = Unavailable desc = keepalive ping failed to receive ACK within timeout

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

| username: Vector_shine

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.

| username: Vector_shine | Original post link

No errors occur without breakpoints.

| username: xfworld | Original post link

Heartbeat mechanism…

If you add a breakpoint, the heartbeat will stop, and it will definitely report an error.

| username: Vector_shine | Original post link

How can we debug without adding breakpoints?

| username: xfworld | Original post link

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…

| username: Vector_shine | Original post link

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.

| username: xfworld | Original post link

You’ll have to look at the code specifically…

| username: Vector_shine | Original post link

Thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.