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)

Reply via email to