ChiaPing Tsai created HBASE-16515:
-------------------------------------

             Summary: AsyncProcess has incorrent count of task if the backoff 
policy is enable
                 Key: HBASE-16515
                 URL: https://issues.apache.org/jira/browse/HBASE-16515
             Project: HBase
          Issue Type: Bug
            Reporter: ChiaPing Tsai
            Priority: Minor


We increment the count before using the backoff policy. So if there are any 
policy splits the requests, the total increment will be smaller than total 
decrement.

{code:title=AsyncProcess.java|borderStyle=solid}
private void sendMultiAction(...) {
  ...
  incTaskCounters(multiAction.getRegions(), server);
  Collection<? extends Runnable> runnables = getNewMultiActionRunnable(server, 
multiAction, numAttempt);
  ...
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to