Bryan Beaudreault created HBASE-27687:
-----------------------------------------

             Summary: Enhance quotas to consume blockBytesScanned rather than 
response size
                 Key: HBASE-27687
                 URL: https://issues.apache.org/jira/browse/HBASE-27687
             Project: HBase
          Issue Type: Improvement
            Reporter: Bryan Beaudreault


As of HBASE-27558 we now apply quota.getReadAvailable() to max block bytes 
scanned by scans/multis. This issue enhances further so that we can track read 
size consumed in Quotas based on block bytes scanned rather than response size. 
In this mode, quotas would end-to-end be based on blockBytesScanned.

Right now we call quota.addGetResult or addScanResult. This would just be a 
matter of no-oping those calls, and calling RpcCall.getBlockBytesScanned() in 
Quota.close() instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to