Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 9965 invoked from network); 21 Oct 2010 04:32:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Oct 2010 04:32:43 -0000 Received: (qmail 47824 invoked by uid 500); 21 Oct 2010 04:32:42 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 47752 invoked by uid 500); 21 Oct 2010 04:32:42 -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 47744 invoked by uid 99); 21 Oct 2010 04:32:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 04:32:41 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 04:32:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9L4WGJ0011074 for ; Thu, 21 Oct 2010 04:32:17 GMT Message-ID: <18262686.341287635536754.JavaMail.jira@thor> Date: Thu, 21 Oct 2010 00:32:16 -0400 (EDT) From: "HBase Review Board (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3082) For ICV gets, first look in MemStore before reading StoreFiles In-Reply-To: <29835308.553921286306912970.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923314#action_12923314 ] HBase Review Board commented on HBASE-3082: ------------------------------------------- Message from: thekhemani@facebook.com ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://review.cloudera.org/r/1053/ ----------------------------------------------------------- (Updated 2010-10-20 21:31:17.831889) Review request for hbase and Jonathan Gray. Changes ------- I think I have taken care of all the review feedback Summary ------- Ensure that during incrementColumnValue() the scan triggered by the get() does an early exit if it finds the KV in the memstore. This addresses bug HBASE-3082. http://issues.apache.org/jira/browse/HBASE-3082 Diffs (updated) ----- src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java 0e3940c src/main/java/org/apache/hadoop/hbase/regionserver/InternalScan.java PRE-CREATION src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java 4775fc8 Diff: http://review.cloudera.org/r/1053/diff Testing ------- I have been testing it on my cluster. No unit testing yet. Thanks, khemani > For ICV gets, first look in MemStore before reading StoreFiles > -------------------------------------------------------------- > > Key: HBASE-3082 > URL: https://issues.apache.org/jira/browse/HBASE-3082 > Project: HBase > Issue Type: Improvement > Components: regionserver > Reporter: Jonathan Gray > Assignee: Prakash Khemani > > For incrementColumnValue operations, it is possible to check MemStore for the column being incremented without sacrificing correctness. If the column is not found in MemStore, we would then have to do a normal Get that opens/checks all StoreFiles for the given Store. > In practice, this makes increment operations significantly faster for recently/frequently incremented columns. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.