You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/08/30 18:10:21 UTC

[jira] [Commented] (HBASE-16515) AsyncProcess has incorrent count of tasks if the backoff policy is enabled

    [ https://issues.apache.org/jira/browse/HBASE-16515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449708#comment-15449708 ] 

Hudson commented on HBASE-16515:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #1510 (See [https://builds.apache.org/job/HBase-Trunk_matrix/1510/])
HBASE-16515 AsyncProcess has incorrent count of tasks if the backoff (tedyu: rev 0f92e943aca497d60358b0ce32ec690a04e4fd85)
* (edit) hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java


> AsyncProcess has incorrent count of tasks if the backoff policy is enabled
> --------------------------------------------------------------------------
>
>                 Key: HBASE-16515
>                 URL: https://issues.apache.org/jira/browse/HBASE-16515
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ChiaPing Tsai
>            Assignee: ChiaPing Tsai
>            Priority: Minor
>         Attachments: HBASE-16515.v1.patch, HBASE-16515.v2.patch, HBASE-16515.v3.patch
>
>
> 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)