Umeshkumar9414 commented on code in PR #8237:
URL: https://github.com/apache/hbase/pull/8237#discussion_r3248679228


##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTableRegionLocator.java:
##########
@@ -112,6 +113,54 @@ default CompletableFuture<List<HRegionLocation>> 
getRegionLocations(byte[] row)
    */
   CompletableFuture<List<HRegionLocation>> getAllRegionLocations();
 
+  /**
+   * Bulk lookup of region locations from {@code hbase:meta} in a single RPC, 
starting at
+   * {@code startKey} (region start-key boundary, inclusive) and returning at 
most {@code limit}
+   * regions in start-key order.
+   * <p/>
+   * The returned list includes all replicas of each region (matching
+   * {@link #getAllRegionLocations()}), and the result is also written to the 
connection's region
+   * location cache.
+   * <p/>
+   * Ordering: regions are returned in ascending region start-key order (the 
natural order of
+   * {@code hbase:meta} rows for a single table). Within each region, replicas 
are returned in
+   * ascending replica-id order (replica 0, then 1, then 2, ...). Split 
parents are filtered out,
+   * which may cause a page to contain fewer than {@code limit} regions but 
never disturbs ordering

Review Comment:
   what about merged regions ? 



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