shardul-cr7 commented on a change in pull request #598: HBASE-22142 Space 
quota: If table inside namespace having space quota is dropped, data size usage 
is still considered for the drop table.
URL: https://github.com/apache/hbase/pull/598#discussion_r325997684
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/MasterQuotasObserver.java
 ##########
 @@ -65,8 +81,11 @@ public void postDeleteTable(
     }
     final Connection conn = ctx.getEnvironment().getConnection();
     Quotas quotas = QuotaUtil.getTableQuota(conn, tableName);
+    Quotas quotasAtNamespace = QuotaUtil.getNamespaceQuota(conn, 
tableName.getNamespaceAsString());
     if (quotas != null){
 
 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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to