szetszwo commented on code in PR #1631:
URL: https://github.com/apache/ratis/pull/1631#discussion_r4242450093


##########
ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java:
##########
@@ -1151,7 +1151,7 @@ private CompletableFuture<RaftClientReply> 
writeAsyncImpl(RaftClientRequest requ
   }
 
   private CompletableFuture<RaftClientReply> watchAsync(RaftClientRequest 
request) {
-    if 
(OrderedAsync.DUMMY.getContent().equals(request.getMessage().getContent())) {
+    if (isDummyRead(request)) {

Review Comment:
   We should also update the isDummyRead(..).  However, let's leave it to 
https://github.com/apache/ratis/pull/1632



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