Description
Look at this line,
https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallableWithReplicas.java#L145
It calls getRegionLocations() to get the primary region's locations. It's usage is to figure out table's region replications. Since table's region replication wont be changed until the table is disabled. It is safe to cache this region replication.
Attachments
Attachments
Issue Links
- Is contained by
-
HBASE-18223 Track the effort to improve/bug fix read replica feature
- Resolved