sharmaar12 commented on code in PR #7743:
URL: https://github.com/apache/hbase/pull/7743#discussion_r2852331529


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java:
##########
@@ -1292,6 +1303,87 @@ RegionEventDescriptor.EventType.REGION_CLOSE, 
getRegionInfo(), mvcc.getReadPoint
     }
   }
 
+  private boolean isReadOnlyModeEnabled(Configuration conf) {
+    return conf.getBoolean(HConstants.HBASE_GLOBAL_READONLY_ENABLED_KEY,
+      HConstants.HBASE_GLOBAL_READONLY_ENABLED_DEFAULT);
+  }
+
+  private String[] append(String[] original, String value) {
+    List<String> list = original != null
+      ? new ArrayList<>(Arrays.asList(original))
+      : new ArrayList<>();
+
+    list.add(value);
+    return list.toArray(new String[0]);
+  }
+
+  private void addReadOnlyCoprocessors(Configuration conf) {
+    String[] regionCoprocs = 
conf.getStrings(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY);

Review Comment:
   Done.



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