Apache9 commented on code in PR #7000:
URL: https://github.com/apache/hbase/pull/7000#discussion_r2125257856


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/DefaultOperationQuota.java:
##########
@@ -288,4 +309,25 @@ private long calculateWriteCapacityUnitDiff(final long 
actualSize, final long es
   private long calculateReadCapacityUnitDiff(final long actualSize, final long 
estimateSize) {
     return calculateReadCapacityUnit(actualSize) - 
calculateReadCapacityUnit(estimateSize);
   }
+
+  private long calculateHandlerUsageTimeEstimate(final double 
requestsPerSecond,

Review Comment:
   I'm not very familiar with the quota implementation, so for every operation, 
we will create a OperationQuota object and calculate the estimate time, and 
then compare it with the actual time usage, and see whether we should stop it?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to