amaliujia commented on code in PR #1631:
URL: https://github.com/apache/ratis/pull/1631#discussion_r4244176678
##########
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:
oops this change was lost during the edits. I will see if
https://github.com/apache/ratis/pull/1632 can change it, otherwise I will send
out a follow-up PR.
--
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]