szetszwo commented on code in PR #913:
URL: https://github.com/apache/ratis/pull/913#discussion_r1313385530
##########
ratis-client/src/main/java/org/apache/ratis/client/impl/AsyncImpl.java:
##########
@@ -51,6 +51,11 @@ public CompletableFuture<RaftClientReply>
sendReadOnly(Message message, RaftPeer
return send(RaftClientRequest.readRequestType(), message, server);
}
+ @Override
+ public CompletableFuture<RaftClientReply> sendReadAfterWrite(Message
message) {
+ return send(RaftClientRequest.readAfterWriteConsistentRequestType(),
message, null);
Review Comment:
@SzyWilliam , Should `sendReadAfterWrite` use `UnorderedAsync.send(..)`?
Indeed, all the linearizable reads should use `UnorderedAsync`.
--
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]