hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9598) Non thread safe increment of task.unforcedResubmits in SplitLogManager#resubmit()
Date Wed, 02 Oct 2013 17:22:42 GMT

     [ 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)

Mime
View raw message