ivankelly commented on a change in pull request #657: DistributionSchedule uses 
int[] rather than HashSet
URL: https://github.com/apache/bookkeeper/pull/657#discussion_r147350311
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/RoundRobinDistributionSchedule.java
 ##########
 @@ -34,56 +39,136 @@
  *
  */
 class RoundRobinDistributionSchedule implements DistributionSchedule {
-    private int writeQuorumSize;
-    private int ackQuorumSize;
-    private int ensembleSize;
+    private final int writeQuorumSize;
+    private final int ackQuorumSize;
+    private final int ensembleSize;
 
+    private final int[][] writeSets;
 
 Review comment:
   Wrapping is a good idea. Doing that. Will have a knock on effect to the rest 
of the comments.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to