Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 86139 invoked from network); 8 Sep 2010 17:25:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 17:25:55 -0000 Received: (qmail 95579 invoked by uid 500); 8 Sep 2010 17:25:55 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95521 invoked by uid 500); 8 Sep 2010 17:25:55 -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 95513 invoked by uid 99); 8 Sep 2010 17:25:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 17:25:55 +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; Wed, 08 Sep 2010 17:25:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o88HPYG8006837 for ; Wed, 8 Sep 2010 17:25:34 GMT Message-ID: <15673732.80501283966734048.JavaMail.jira@thor> Date: Wed, 8 Sep 2010 13:25:34 -0400 (EDT) From: "Jonathan Gray (JIRA)" To: issues@hbase.apache.org Subject: [jira] Resolved: (HBASE-997) Count versions with same r/c/ts as one instance with most recent addition the winner 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-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Gray resolved HBASE-997. --------------------------------- Hadoop Flags: [Incompatible change, Reviewed] (was: [Incompatible change]) Fix Version/s: 0.90.0 Resolution: Fixed Fixed with commit of HBASE-1485. > Count versions with same r/c/ts as one instance with most recent addition the winner > ------------------------------------------------------------------------------------ > > Key: HBASE-997 > URL: https://issues.apache.org/jira/browse/HBASE-997 > Project: HBase > Issue Type: Improvement > Reporter: stack > Assignee: Pranav Khaitan > Fix For: 0.90.0 > > > A few of us were chatting yesterday. If two edits go into hbase with same r/c/ts and they both go into the same memcache instance -- i.e. there has not been a flush between additions -- then the last insert will overwrite any added earlier (edits go into a Map). That seems fine to me (what others think?). But if a flush happens in between edits, hbase gives back different answers. Here's how. > Each instance of a cell is treated as a 'version', even if same r/c/ts. If you ask for N > 1 versions, and if two cells of same r/c/ts, only there has been a flush between their additions, you'll get back two versions with same r/c/ts. If no flush between their upload, you'll get back one version only because the later overrode the former. > This issue is about closing this hole. Suppress same r/c/ts when returning 'versions'. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.