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 00:12:52 UTC

[jira] [Assigned] (HBASE-9420) Math.max() on syncedTillHere lacks synchronization

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

Ted Yu reassigned HBASE-9420:
-----------------------------

    Assignee: Ted Yu
    
> Math.max() on syncedTillHere lacks synchronization
> --------------------------------------------------
>
>                 Key: HBASE-9420
>                 URL: https://issues.apache.org/jira/browse/HBASE-9420
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 9420-v1.txt
>
>
> In FSHlog#syncer(), around line 1080:
> {code}
>       this.syncedTillHere = Math.max(this.syncedTillHere, doneUpto);
> {code}
> Assignment to syncedTillHere after computing max value is not protected by 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