You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yi Mei (Jira)" <ji...@apache.org> on 2021/04/06 06:46:00 UTC
[jira] [Created] (HBASE-25736) Scan should be limited by read
capacity unit quota if read size quota is not set
Yi Mei created HBASE-25736:
------------------------------
Summary: Scan should be limited by read capacity unit quota if read size quota is not set
Key: HBASE-25736
URL: https://issues.apache.org/jira/browse/HBASE-25736
Project: HBase
Issue Type: Improvement
Components: Quotas
Reporter: Yi Mei
Scan is currently limited by available size of quota, and quota size only considers the READ_SIZE type:
{code:java}
long maxQuotaResultSize = Math.min(maxScannerResultSize, quota.getReadAvailable());
{code}
If read size is not set, we should limit the result size by read capacity unit to avoid exceeding quota.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)