huaxiangsun commented on a change in pull request #2570:
URL: https://github.com/apache/hbase/pull/2570#discussion_r510412906



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java
##########
@@ -392,6 +406,16 @@ public Connection toConnection() {
     return c;
   }
 
+  private boolean isMetaReplicaLBMode() {
+    if (conf.getBoolean(USE_META_REPLICAS, DEFAULT_USE_META_REPLICAS)) {
+      String metaReplicaMode = conf.get(META_REPLICAS_MODE, "");
+      if (MetaReplicaMode.LoadBalance.toString().equals(metaReplicaMode)) {

Review comment:
       Good catch! I think it should be case-insensitive.




----------------------------------------------------------------
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:
[email protected]


Reply via email to