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/03 22:21:57 UTC

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

Ted Yu created HBASE-9420:
-----------------------------

             Summary: 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


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