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


##########
ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderStateImpl.java:
##########
@@ -247,6 +247,8 @@ boolean removeAll(Collection<LogAppender> c) {
   private final EventProcessor processor;
   private final PendingRequests pendingRequests;
   private final WatchRequests watchRequests;
+  private final ReadRequests readRequests;
+  private final Map<Long, CompletableFuture<Boolean>> pendingBroadcasts;

Review Comment:
   `LeaderStateImpl.ReadRequests` and `ReadRequests.pendingBroadcasts` should 
be combined into a single data structure; see `ReadRequests.ReadIndexQueue`.



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