Skip to content

HBASE-30485: Charge read capacity units in exceed quota - #8815

Open
dajiaohuang wants to merge 1 commit into
apache:masterfrom
dajiaohuang:fix/hbase-30485-read-cu
Open

dajiaohuang wants to merge 1 commit into
apache:masterfrom
dajiaohuang:fix/hbase-30485-read-cu

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

  • Pass the read capacity-unit estimate to both grabQuota calls in ExceedOperationQuota.
  • Add a regression test proving repeated reads are throttled by the read-CU quota when exceed-throttle is active.

Fixes HBASE-30485.

Validation

  • mvn -f checkout/pom.xml -Dmaven.repo.local=env/m2 -pl hbase-server -am -Dtest=TestDefaultOperationQuota -Dsurefire.failIfNoSpecifiedTests=false test — 14 tests passed, 0 failures/errors (JDK 17).
  • No full-suite or integration tests were run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant