hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaPing Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-16515) AsyncProcess has incorrent count of tasks if the backoff policy is enabled
Date Wed, 31 Aug 2016 08:06:20 GMT

     [ https://issues.apache.org/jira/browse/HBASE-16515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ChiaPing Tsai updated HBASE-16515:
----------------------------------
    Attachment: HBASE-16515.addendum.patch

> 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
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-16515.addendum.patch, 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)

Mime
View raw message