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 2071E10EE3 for ; Thu, 8 Aug 2013 18:41:56 +0000 (UTC) Received: (qmail 15696 invoked by uid 500); 8 Aug 2013 18:41:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 15525 invoked by uid 500); 8 Aug 2013 18:41:51 -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 15254 invoked by uid 99); 8 Aug 2013 18:41:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 18:41:49 +0000 Date: Thu, 8 Aug 2013 18:41:48 +0000 (UTC) From: "Jeffrey Zhong (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9098) During recovery use ZK as the source of truth for region state 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-9098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffrey Zhong updated HBASE-9098: --------------------------------- Attachment: hbase-9098-v4.patch Thanks Ted for comments! {quote} Why was COMPACT_REGION added to the above check ? {quote} In tests, I found major compaction requests drag recovery process. Current recovered edits recovery doesn't allow compaction. So I disable compaction request for log replay recovery as well. I incorporated the rest comments into v4 patch. Thanks. > During recovery use ZK as the source of truth for region state > --------------------------------------------------------------- > > Key: HBASE-9098 > URL: https://issues.apache.org/jira/browse/HBASE-9098 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.95.0 > Reporter: Devaraj Das > Assignee: Jeffrey Zhong > Priority: Blocker > Fix For: 0.95.2 > > Attachments: hbase-9098.patch, hbase-9098-v1.patch, hbase-9098-v3.patch, hbase-9098-v4.patch > > > In HLogSplitter:locateRegionAndRefreshLastFlushedSequenceId(HConnection, byte[], byte[], String), we talk to the replayee regionserver to figure out whether a region is in recovery or not. We should look at ZK only for this piece of information (since that is the source of truth for recovery otherwise). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira