HBASE-25126 Add load balance logic in hbase-client to distribute read load over meta replica regions (addendum)
This commit is contained in:
parent
690b4d8973
commit
9ecf6ff6a2
|
@ -189,7 +189,7 @@ public class RegionReplicaReplicationEndpoint extends HBaseReplicationEndpoint {
|
|||
// later it is changed to multiple replicas. The cached location for meta may only has
|
||||
// the primary region. In this case, it needs to clean up and refresh the cached meta
|
||||
// locations.
|
||||
if (tableDesc.isMergeEnabled()) {
|
||||
if (tableDesc.isMetaTable()) {
|
||||
connection.getRegionLocator(tableDesc.getTableName()).clearRegionLocationCache();
|
||||
}
|
||||
future.complete(Long.valueOf(entries.size()));
|
||||
|
|
Loading…
Reference in New Issue