Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 715F81794D for ; Sat, 11 Apr 2015 00:38:18 +0000 (UTC) Received: (qmail 44155 invoked by uid 500); 11 Apr 2015 00:38:14 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 44041 invoked by uid 500); 11 Apr 2015 00:38:14 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 43906 invoked by uid 99); 11 Apr 2015 00:38:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 00:38:14 +0000 Date: Sat, 11 Apr 2015 00:38:14 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-1764) Change hfile scanner seek to find wanted key or the one AFTER rather than BEFORE as it currently does 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-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-1764. ----------------------------------- Resolution: Not A Problem > Change hfile scanner seek to find wanted key or the one AFTER rather than BEFORE as it currently does > ----------------------------------------------------------------------------------------------------- > > Key: HBASE-1764 > URL: https://issues.apache.org/jira/browse/HBASE-1764 > Project: HBase > Issue Type: Improvement > Reporter: stack > > Working on new getClosestAtOrBefore in HBASE-1761, the way hfile scanner works where it gets the asked for key or the one just before makes for our doing more work than we should. See the code in Store where we want to get to first element in row. We have to go to the row before and then walk forward skipping the item that is in row before. > Consider flipping catalog tables to be regions by end-key rather than start-key at same time (RE: conversation had on the saturday night at the SUSF hackathon). -- This message was sent by Atlassian JIRA (v6.3.4#6332)