Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 37333 invoked from network); 1 Jul 2008 02:24:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2008 02:24:35 -0000 Received: (qmail 99333 invoked by uid 500); 1 Jul 2008 02:24:36 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 99316 invoked by uid 500); 1 Jul 2008 02:24:36 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 99305 invoked by uid 99); 1 Jul 2008 02:24:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jun 2008 19:24:36 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 02:23:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1E695234C152 for ; Mon, 30 Jun 2008 19:23:45 -0700 (PDT) Message-ID: <154553973.1214879025123.JavaMail.jira@brutus> Date: Mon, 30 Jun 2008 19:23:45 -0700 (PDT) From: "Jim Kellerman (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Assigned: (HBASE-712) midKey found compacting is the first, not necessarily the optimal In-Reply-To: <1192730109.1214451645003.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Kellerman reassigned HBASE-712: ----------------------------------- Assignee: Jim Kellerman > midKey found compacting is the first, not necessarily the optimal > ----------------------------------------------------------------- > > Key: HBASE-712 > URL: https://issues.apache.org/jira/browse/HBASE-712 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > Assignee: Jim Kellerman > Priority: Minor > Fix For: 0.2.0 > > > It does this in HRegion: > {code} > for (HStore store: stores.values()) { > final byte [] key = store.compact(force); > if (key != null && midKey == null) { > midKey = key; > } > } > {code} > If many families, then we can return a suboptimal midKey. > Marking minor but including in 0.2 because (I think) the fix is trivial. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.