You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2021/12/08 06:50:36 UTC

[GitHub] [ratis] szetszwo commented on a change in pull request #557: RATIS-1453. The client will hung when streaming writes.

szetszwo commented on a change in pull request #557:
URL: https://github.com/apache/ratis/pull/557#discussion_r764590159



##########
File path: ratis-examples/src/main/java/org/apache/ratis/examples/filestore/cli/Client.java
##########
@@ -135,7 +135,7 @@ public void run() throws Exception {
           new GrpcFactory(new org.apache.ratis.conf.Parameters())
               .newRaftClientRpc(ClientId.randomId(), raftProperties));
       RaftPeer[] peers = getPeers();
-      builder.setPrimaryDataStreamServer(peers[i % peers.length]);
+      builder.setPrimaryDataStreamServer(peers[0]);

Review comment:
       The original idea is to use a different peer for each client.  Why would it be a bug?




-- 
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: issues-unsubscribe@ratis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org