You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/10/02 19:22:42 UTC

[jira] [Updated] (HBASE-9598) Non thread safe increment of task.unforcedResubmits in SplitLogManager#resubmit()

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

Ted Yu updated HBASE-9598:
--------------------------

    Fix Version/s: 0.98.0
     Hadoop Flags: Reviewed

Integrated to trunk.

Thanks for the reviews.

> Non thread safe increment of task.unforcedResubmits in SplitLogManager#resubmit()
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-9598
>                 URL: https://issues.apache.org/jira/browse/HBASE-9598
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.0
>
>         Attachments: 9598-v1.txt, 9598-v2.txt
>
>
> In SplitLogManager#resubmit():
> {code}
>     if (directive != FORCE) {
>       task.unforcedResubmits++;
>     }
> {code}
> task.unforcedResubmits is volatile but the above increment doesn't have proper synchronization.



--
This message was sent by Atlassian JIRA
(v6.1#6144)