SzyWilliam commented on code in PR #797:
URL: https://github.com/apache/ratis/pull/797#discussion_r1044249306
##########
ratis-examples/src/main/java/org/apache/ratis/examples/counter/server/CounterServer.java:
##########
@@ -52,6 +52,7 @@ public CounterServer(RaftPeer peer, File storageDir) throws
IOException {
//set the storage directory (different for each peer) in the RaftProperty
object
RaftServerConfigKeys.setStorageDir(properties,
Collections.singletonList(storageDir));
+ RaftServerConfigKeys.Read.setOption(properties,
RaftServerConfigKeys.Read.Option.LINEARIZABLE);
Review Comment:
Done
--
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]