amaliujia commented on a change in pull request #213:
URL: https://github.com/apache/incubator-ratis/pull/213#discussion_r507017344



##########
File path: 
ratis-server/src/main/java/org/apache/ratis/server/DataStreamServerRpc.java
##########
@@ -27,6 +27,11 @@
    */
   void startServer();
 
+  /**
+   * start clients that used to forward requests to peers.
+   */
+  void startClientToPeers();

Review comment:
       The problem is when `startServer`, as other servers might not ready, we 
cannot guarantee that we can connect to peer. 
   
   If you still want to hide this `startClientToPeers`, then maybe we should do 
some lazy connection that when receives a first request, connects with other 
servers.




----------------------------------------------------------------
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.

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


Reply via email to