You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "hanke580 (via GitHub)" <gi...@apache.org> on 2023/09/22 20:47:01 UTC

[GitHub] [hbase] hanke580 commented on pull request #5426: HBASE-28105 NPE in QuotaCache if Table is dropped from cluster

hanke580 commented on PR #5426:
URL: https://github.com/apache/hbase/pull/5426#issuecomment-1732015736

   > I think we should probably remove the tableName from the `tableMachineQuotaFactors` in this case. Nothing else seems to cause entries to be removed from that map, and it may have outdated factors that mess with the user quotas.
   
   Are you referring to `tableQuotaCache`? Since `tableQuotaCache` could store the outdated tableName.
   
   If so, I think the outdated tableName will be removed the next time when the cache gets updated in this [function](https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java#L302).
   
   


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