hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9420) Math.max() on syncedTillHere lacks synchronization
Date Tue, 03 Sep 2013 20:21:51 GMT
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

Mime
View raw message