Xiaolin Ha created HBASE-27676:
----------------------------------
Summary: Scan handlers in the RPC executor should match at least
one scan queues
Key: HBASE-27676
URL: https://issues.apache.org/jira/browse/HBASE-27676
Project: HBase
Issue Type: Improvement
Affects Versions: 2.5.3
Reporter: Xiaolin Ha
Assignee: Xiaolin Ha
{code:java}
int scanQueues = Math.max(0, (int) Math.floor(readQueues * callqScanShare));
int scanHandlers = Math.max(0, (int) Math.floor(readHandlers * callqScanShare));
if ((readQueues - scanQueues) > 0) {
readQueues -= scanQueues;
readHandlers -= scanHandlers;
} else {
scanQueues = 0;
scanHandlers = 0;
} {code}
When readQueues * callqScanShare < 1 but readHandlers * callqScanShare > 1,
there will be some active scan handlers with NO scan queues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)