anmolnar commented on code in PR #7058:
URL: https://github.com/apache/hbase/pull/7058#discussion_r2136656832


##########
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:
   Ignore me. He has done it only for `prePut` and `preBatchMutate`.



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