sofa-jraft icon indicating copy to clipboard operation
sofa-jraft copied to clipboard

Unnessary to `ping` before rpc

Open fengjiachun opened this issue 5 years ago • 0 comments

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:

fengjiachun avatar Dec 31 '19 02:12 fengjiachun