You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chandrasekhar-188k (via GitHub)" <gi...@apache.org> on 2024/04/05 01:55:35 UTC

Re: [PR] HBASE-28183 It's impossible to re-enable the quota table if it gets d… [hbase]

chandrasekhar-188k commented on code in PR #5691:
URL: https://github.com/apache/hbase/pull/5691#discussion_r1552671014


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaAdmin.java:
##########
@@ -994,4 +994,16 @@ public int getQuotaSettingCount(Admin admin) throws IOException {
     }
     return quotaSettingCount;
   }
+
+  @Test
+  public void testQuotaTableDisableAndEnable() throws Exception {
+    final Admin admin = TEST_UTIL.getAdmin();
+    admin.disableTable(QuotaUtil.QUOTA_TABLE_NAME);
+    try {
+      admin.enableTable(QuotaUtil.QUOTA_TABLE_NAME);
+    } catch (Exception ex) {
+      LOG.error("", ex);

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

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