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

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerChecker.java
 ##########
 @@ -243,10 +243,12 @@ public void operationComplete(int rc, Boolean result) {
                                                   }
                                               });
 
-                for (int bi : 
lh.getDistributionSchedule().getWriteSet(entryToRead)) {
-                    BookieSocketAddress addr = curEnsemble.get(bi);
-                    bookieClient.readEntry(addr, lh.getId(),
-                                           entryToRead, eecb, null);
+                final ArrayList<BookieSocketAddress> curEnsembleFinal = 
curEnsemble;
 
 Review comment:
   Pulled in as part of cherry-pick. I guess there was a callback here at some 
point which required the final that isn't there now. removed.

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