Kota-SH commented on code in PR #7058:
URL: https://github.com/apache/hbase/pull/7058#discussion_r2124975685


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/ReadOnlyController.java:
##########
@@ -109,6 +109,9 @@ public void prePut(ObserverContext<? extends 
RegionCoprocessorEnvironment> c, Pu
   @Override
   public void preDelete(ObserverContext<? extends 
RegionCoprocessorEnvironment> c, Delete delete,
     WALEdit edit) throws IOException {
+    if (c.getEnvironment().getRegionInfo().getTable().isSystemTable()) {
+      return;
+    }

Review Comment:
   This is blocking the refresh_meta. We need to be able to put and delete in 
the system table (hbase:meta). So I made these changes in the 
ReadOnlyController.



-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to