You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/11/03 20:05:18 UTC
[jira] [Resolved] (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 resolved HBASE-9420.
---------------------------
Resolution: Later
It is better to pursue solution in HBASE-8755
> 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
> Priority: Trivial
> Fix For: 0.98.0
>
> Attachments: 9420-v1.txt, 9420-v2.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 was sent by Atlassian JIRA
(v6.1#6144)