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



##########
File path: 
ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStream.java
##########
@@ -97,33 +98,44 @@ public WritableByteChannel getWritableByteChannel() {
 
     @Override
     public CompletableFuture<DataStream> stream(RaftClientRequest request) {
-      writeRequest = request;
+      if (request.getClientId().equals(impl.getHeader().getClientId())) {

Review comment:
       Because all statemachine will share `writeRequest` thus set it.




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