amaliujia commented on code in PR #1679:
URL: https://github.com/apache/ratis/pull/1679#discussion_r4462900718


##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolClient.java:
##########
@@ -191,6 +228,7 @@ public void resetConnectBackoff() {
     if (useSeparateHBChannel) {
       hbChannel.resetConnectBackoff();
     }
-    channel.resetConnectBackoff();
+    // the first one is the main channel
+    appendEntriesChannels.forEach(ManagedChannel::resetConnectBackoff);

Review Comment:
   ditto. Can we do in-parallel reset?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to