Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 88100 invoked from network); 10 Dec 2010 04:57:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Dec 2010 04:57:22 -0000 Received: (qmail 19968 invoked by uid 500); 10 Dec 2010 04:57:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 19945 invoked by uid 500); 10 Dec 2010 04:57:22 -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 19923 invoked by uid 99); 10 Dec 2010 04:57:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 04:57:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 04:57:21 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBA4v1Rr000411 for ; Fri, 10 Dec 2010 04:57:01 GMT Message-ID: <12890331.52221291957021065.JavaMail.jira@thor> Date: Thu, 9 Dec 2010 23:57:01 -0500 (EST) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Updated: (HBASE-3318) Split rollback leaves parent with writesEnabled=false In-Reply-To: <13767266.4661291766041289.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-3318: ------------------------- Fix Version/s: (was: 0.90.1) (was: 0.92.0) 0.90.0 Bringing into 0.90.0. Want to apply J-D? > Split rollback leaves parent with writesEnabled=false > ----------------------------------------------------- > > Key: HBASE-3318 > URL: https://issues.apache.org/jira/browse/HBASE-3318 > Project: HBase > Issue Type: Bug > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Priority: Critical > Fix For: 0.90.0 > > Attachments: HBASE-3318.patch > > > I saw a split rollback today, and it left the region in a state where it was able to take writes, but wasn't able to flush or compact. It's printing this message every few milliseconds: > {noformat} > NOT flushing memstore for region xxx., flushing=false, writesEnabled=false > {noformat} > I see why, writesEnabled is never set back in HRegion.initialize: > {code} > // See if region is meant to run read-only. > if (this.regionInfo.getTableDesc().isReadOnly()) { > this.writestate.setReadOnly(true); > } > {code} > Instead it needs to pass isReadOnly into the setReadOnly method to work correctly. > I think it should go in 0.90.0 if there's a new RC. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.