sofa-jraft
sofa-jraft copied to clipboard
Unnessary to `ping` before rpc
Your question
ping
is a blocking call, and this is not needed, we should let the rpc framework (bolt) to check connections
Your scenes
Your advice
replace connect()
to isConnected()
Environment
- SOFAJRaft version:
- JVM version (e.g.
java -version
): - OS version (e.g.
uname -a
): - Maven version:
- IDE version: