keith-turner commented on PR #6027:
URL: https://github.com/apache/accumulo/pull/6027#issuecomment-3672216867

   > Right now we are looping over each range returned after merging the given 
range list and getting a new TabletsMetadata for each of those ranges. I think 
overall the new way of doing things here is an improvement but it would be 
really nice if we could get a single TabletsMetadata for that whole list of 
Ranges. 
   
   There is something similar to this 
[here](https://github.com/apache/accumulo/blob/486cddb356c6283f1bdd16633edb407b76986309/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletsMetadata.java#L400)
 but it take extents and not row ranges.  It expects those exact extents to 
exist.  The impl for this uses a batch scanner.  So we could have something 
like that, however the batch scanner will deliver things out of order.  As this 
is done now, maybe it gives things back in the order the ranges were given?
   
   I think what is here is a good start.  Could have a follow on issue for 
optimization, but maybe that could only be done if needed.


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