You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/04/21 04:37:50 UTC

[jira] Created: (HBASE-2476) HLog sequence number is obtained outside updateLock

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.