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 45D571890D for ; Wed, 20 Jan 2016 02:17:40 +0000 (UTC) Received: (qmail 46271 invoked by uid 500); 20 Jan 2016 02:17:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46212 invoked by uid 500); 20 Jan 2016 02:17:40 -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 46193 invoked by uid 99); 20 Jan 2016 02:17:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2016 02:17:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CB4A92C1F57 for ; Wed, 20 Jan 2016 02:17:39 +0000 (UTC) Date: Wed, 20 Jan 2016 02:17:39 +0000 (UTC) From: "chenrongwei (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15126) HBaseFsck's checkRegionBoundaries function set the 'storesFirstKey' was incorrect. 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-15126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] chenrongwei updated HBASE-15126: -------------------------------- Attachment: HBASE-15126-v004.patch Thanks for your reminder,the patch already had been reformatted. > HBaseFsck's checkRegionBoundaries function set the 'storesFirstKey' was incorrect. > ----------------------------------------------------------------------------------- > > Key: HBASE-15126 > URL: https://issues.apache.org/jira/browse/HBASE-15126 > Project: HBase > Issue Type: Bug > Components: hbck > Affects Versions: 2.0.0 > Reporter: chenrongwei > Assignee: chenrongwei > Attachments: HBASE-15126-v001.patch, HBASE-15126-v002.patch, HBASE-15126-v003.patch, HBASE-15126-v004.patch > > > HBaseFsck's checkRegionBoundaries function set the 'currentRegionBoundariesInformation.storesFirstKey' was incorrect.I think it should be set like below, > currentRegionBoundariesInformation.storesFirstKey = keyOnly(storeFirstKey); > but current the 'currentRegionBoundariesInformation.storesFirstKey ' is just set to 'storeFirstKey',which will cause to comparator.compare(currentRegionBoundariesInformation.storesFirstKey, > currentRegionBoundariesInformation.metaFirstKey) get a wrong result. Because it just compared the rowkey's length. -- This message was sent by Atlassian JIRA (v6.3.4#6332)