hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-2476) HLog sequence number is obtained outside updateLock
Date Wed, 21 Apr 2010 02:37:50 GMT
HLog sequence number is obtained outside updateLock
---------------------------------------------------

                 Key: HBASE-2476
                 URL: https://issues.apache.org/jira/browse/HBASE-2476
             Project: Hadoop HBase
          Issue Type: Bug
          Components: regionserver
            Reporter: Todd Lipcon
            Priority: Critical


In one of the overloads of HLog.append, obtainSeqNum() is called before this.updateLock is
acquired. This means that it's possible for some other thread to have a higher sequence number
but achieve its write first, and hence the lastSeqWritten map can become incorrect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message