hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5225) Backport HBASE-3845 -data loss because lastSeqWritten can miss memstore edits
Date Fri, 20 Jan 2012 20:02:47 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190054#comment-13190054

Zhihong Yu commented on HBASE-5225:

Patch looks good.
+   * oldest in-memory edit's lsn for the region that was being flushed.
Please replace lsn above with 'log-seq-number'.
+   * lsn of the earliest in-memory lsn - which is now in the memstore snapshot -
The first part of the above sentence should read 'the earliest in-memory log-seq-number'.
+      // lastSeqWritten.putIfAbsent() in append() and we will always win
+      // before releasing cacheFlushLock make sure that the region's entry in
Please put a period after 'win' so that it is easier to read.
+        LOG.error("Logic Error region " + Bytes.toString(encodedRegionName)
+            + "acquired edits out of order current memstore seq="
A space is needed before 'acquired'.

> Backport HBASE-3845 -data loss because lastSeqWritten can miss memstore edits
> -----------------------------------------------------------------------------
>                 Key: HBASE-5225
>                 URL: https://issues.apache.org/jira/browse/HBASE-5225
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.4
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.90.6
>         Attachments: HBASE-3845-90.patch
> Critical defect. Patch from HBASE-3845 was not integrated to 0.90.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message