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 DAF59100B6 for ; Fri, 8 Nov 2013 23:46:17 +0000 (UTC) Received: (qmail 80801 invoked by uid 500); 8 Nov 2013 23:46:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80766 invoked by uid 500); 8 Nov 2013 23:46:17 -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 80758 invoked by uid 99); 8 Nov 2013 23:46:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 23:46:17 +0000 Date: Fri, 8 Nov 2013 23:46:17 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9926) Scanner doesn't check if a region is available 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-9926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817855#comment-13817855 ] Jimmy Xiang commented on HBASE-9926: ------------------------------------ The region is switched. In HRegionServer#scan, we do all checking based on the new HRegion instance. In the scanner, we use the cached old HRegion instance. Let me put the old instance in the RegionScannerHolder. > Scanner doesn't check if a region is available > ---------------------------------------------- > > Key: HBASE-9926 > URL: https://issues.apache.org/jira/browse/HBASE-9926 > Project: HBase > Issue Type: Bug > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Attachments: trunk-9926.patch > > > Currently the scanner doesn't check if a region is closing/closed. If a region is closed, then reopened, an old scanner could still refer to the closed HRegion instance. So the scanner will miss some store file changes due to compaction. -- This message was sent by Atlassian JIRA (v6.1#6144)