Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4B8DBE93 for ; Fri, 20 Jan 2012 20:03:11 +0000 (UTC) Received: (qmail 63788 invoked by uid 500); 20 Jan 2012 20:03:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 63382 invoked by uid 500); 20 Jan 2012 20:03:10 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 63372 invoked by uid 99); 20 Jan 2012 20:03:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2012 20:03:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2012 20:03:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5F131158256 for ; Fri, 20 Jan 2012 20:02:47 +0000 (UTC) Date: Fri, 20 Jan 2012 20:02:47 +0000 (UTC) From: "Zhihong Yu (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <641490330.61268.1327089767390.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1425852436.51972.1326874660414.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5225) Backport HBASE-3845 -data loss because lastSeqWritten can miss memstore edits MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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