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


##########
ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java:
##########
@@ -189,6 +189,8 @@ public long[] getFollowerNextIndices() {
 
   private final AtomicBoolean firstElectionSinceStartup = new 
AtomicBoolean(true);
 
+  private final ReadRequests readRequests;

Review Comment:
   Let's put move `readRequests` to `ServerState since
   - `stateMachineUpdater` needs to update`readRequests` later;
   - `ServerState` is a smaller class so that `RaftServerImpl` won't get too 
big.



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