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

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

     [ https://issues.apache.org/jira/browse/HBASE-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HBASE-2476:
-------------------------------

    Attachment: hbase-2476.txt

Trivial fix

> 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
>    Affects Versions: 0.20.5
>            Reporter: Todd Lipcon
>            Priority: Critical
>         Attachments: hbase-2476.txt
>
>
> 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.