HBASE-14165 The initial size of RWQueueRpcExecutor.queues should be (numWriteQueues + numReadQueues + numScanQueues) (Cui Jianwei)
This commit is contained in:
parent
ebd34844ce
commit
32b1064c6c
|
@ -135,7 +135,7 @@ public class RWQueueRpcExecutor extends RpcExecutor {
|
||||||
this.readBalancer = getBalancer(numReadQueues);
|
this.readBalancer = getBalancer(numReadQueues);
|
||||||
this.scanBalancer = getBalancer(numScanQueues);
|
this.scanBalancer = getBalancer(numScanQueues);
|
||||||
|
|
||||||
queues = new ArrayList<BlockingQueue<CallRunner>>(writeHandlersCount + readHandlersCount);
|
queues = new ArrayList<BlockingQueue<CallRunner>>(numWriteQueues + numReadQueues + numScanQueues);
|
||||||
LOG.debug(name + " writeQueues=" + numWriteQueues + " writeHandlers=" + writeHandlersCount +
|
LOG.debug(name + " writeQueues=" + numWriteQueues + " writeHandlers=" + writeHandlersCount +
|
||||||
" readQueues=" + numReadQueues + " readHandlers=" + readHandlersCount +
|
" readQueues=" + numReadQueues + " readHandlers=" + readHandlersCount +
|
||||||
((numScanQueues == 0) ? "" : " scanQueues=" + numScanQueues +
|
((numScanQueues == 0) ? "" : " scanQueues=" + numScanQueues +
|
||||||
|
|
Loading…
Reference in New Issue