You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/10/27 08:07:02 UTC

[GitHub] [incubator-ratis] runzhiwang commented on a change in pull request #233: RATIS-1107. Add submitClientRequestAsync in NettyServerStreamRpc

runzhiwang commented on a change in pull request #233:
URL: https://github.com/apache/incubator-ratis/pull/233#discussion_r512484163



##########
File path: ratis-netty/src/main/java/org/apache/ratis/netty/server/NettyServerStreamRpc.java
##########
@@ -166,6 +181,11 @@ public void addRaftPeers(Collection<RaftPeer> newPeers) {
     }
   }
 
+  @VisibleForTesting
+  public CompletableFuture<RaftClientReply> submitClientRequestAsync(RaftClientRequest request) throws IOException {

Review comment:
       @szetszwo Sorry, if we do not submit RaftClientRequest from NettyServerStreamRpc, how can we submit RaftClientRequest to RaftServerImpl when receive start-transaction.




----------------------------------------------------------------
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:
users@infra.apache.org