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/09/20 19:43:52 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:
--------------------------

    Attachment: 9598-v1.txt
    
> 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
>         Attachments: 9598-v1.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira