You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/11/10 18:32:26 UTC
[GitHub] [hbase] huaxiangsun commented on a change in pull request #2640: Backport: HBASE-25126 Add load balance logic in hbase-client to distribute read…
huaxiangsun commented on a change in pull request #2640:
URL: https://github.com/apache/hbase/pull/2640#discussion_r520780550
##########
File path: hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
##########
@@ -161,7 +165,11 @@
private final boolean hostnamesCanChange;
private final long pause;
private final long pauseForCQTBE;// pause for CallQueueTooBigException, if specified
- private boolean useMetaReplicas;
Review comment:
Let me explain a bit here. The old behavior for 'useMetaReplicas' is kept, no change of that. The flag is consolidated to the mode as the mode flag also supports the old behavior. Looking at the code, 'useMetaReplicas' only supports the region locator at this moment. The config is kept in case 'META_REPLICA_USE' needs to support a broader scope. This is just an implementation consolidation.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org