ivankelly commented on a change in pull request #788: Issue 787: Client should 
be able to get ledger metadata from Handles.
URL: https://github.com/apache/bookkeeper/pull/788#discussion_r154047657
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerMetadata.java
 ##########
 @@ -279,6 +294,11 @@ public void addEnsemble(long startEntryId, 
ArrayList<BookieSocketAddress> ensemb
         return ensembles.get(ensembles.headMap(entryId + 1).lastKey());
     }
 
+    @Override
+    public List<BookieSocketAddress> getEnsembleAt(long entryId) {
+        return getEnsemble(entryId);
 
 Review comment:
   Is this going to be called so much that allocation is a problem? We should 
only worry about allocation for stuff that gets called with every add or read. 
   
   Anyhow, I'm not going to block this any longer just for this change. 

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