You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org> on 2012/01/20 21:02:47 UTC
[jira] [Commented] (HBASE-5225) Backport HBASE-3845 -data loss
because lastSeqWritten can miss memstore edits
[ 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.
{code}
+ * oldest in-memory edit's lsn for the region that was being flushed.
{code}
Please replace lsn above with 'log-seq-number'.
{code}
+ * lsn of the earliest in-memory lsn - which is now in the memstore snapshot -
{code}
The first part of the above sentence should read 'the earliest in-memory log-seq-number'.
{code}
+ // lastSeqWritten.putIfAbsent() in append() and we will always win
+ // before releasing cacheFlushLock make sure that the region's entry in
{code}
Please put a period after 'win' so that it is easier to read.
{code}
+ LOG.error("Logic Error region " + Bytes.toString(encodedRegionName)
+ + "acquired edits out of order current memstore seq="
{code}
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