SzyWilliam commented on code in PR #913:
URL: https://github.com/apache/ratis/pull/913#discussion_r1314354856
##########
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:
That's true! Thanks for pointing out, I'll change all the linearizable reads
to 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]