Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
In previous releases, when a Space Quota was configured on a table or namespace and that table or namespace was deleted, the Space Quota was also deleted. This change improves the implementation so that the same is also done for RPC Quotas.
Description
In short, the below scenario shouldn't be the case.
hbase(main):023:0> create 't2','cf1' Created table t2 Took 0.7405 seconds => Hbase::Table - t2 hbase(main):024:0> hbase(main):025:0* hbase(main):026:0* set_quota TYPE => THROTTLE, TABLE => 't2', LIMIT => '10M/sec' Took 0.0082 seconds hbase(main):027:0> list_quotas OWNER QUOTAS TABLE => t2 TYPE => THROTTLE, THROTTLE_TYPE => REQUEST_SIZE, LIMIT => 10M/sec, SCOPE => MACHINE 1 row(s) Took 0.0291 seconds hbase(main):028:0> scan 'hbase:quota' ROW COLUMN+CELL t.t2 column=q:s, timestamp=1530165010888, value=PBUF\x12\x0B\x12\x09\x08\x04\x10\x80\x80\x80\x05 \x02 1 row(s) Took 0.0037 seconds hbase(main):029:0> disable 't2' Took 0.4328 seconds hbase(main):030:0> drop 't2' Took 0.2285 seconds hbase(main):031:0> list_quotas OWNER QUOTAS TABLE => t2 TYPE => THROTTLE, THROTTLE_TYPE => REQUEST_SIZE, LIMIT => 10M/sec, SCOPE => MACHINE 1 row(s) Took 0.0230 seconds hbase(main):032:0> scan 'hbase:quota' ROW COLUMN+CELL t.t2 column=q:s, timestamp=1530165010888, value=PBUF\x12\x0B\x12\x09\x08\x04\x10\x80\x80\x80\x05 \x02 1 row(s) Took 0.0038 seconds
Attachments
Attachments
Issue Links
- links to