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 87E679CC0 for ; Sun, 20 Nov 2011 23:40:20 +0000 (UTC) Received: (qmail 46996 invoked by uid 500); 20 Nov 2011 23:40:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46954 invoked by uid 500); 20 Nov 2011 23:40:14 -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 46945 invoked by uid 99); 20 Nov 2011 23:40:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2011 23:40:14 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2011 23:40:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 117D79296A for ; Sun, 20 Nov 2011 23:39:53 +0000 (UTC) Date: Sun, 20 Nov 2011 23:39:53 +0000 (UTC) From: "Lars Hofhansl (Issue Comment Edited) (JIRA)" To: issues@hbase.apache.org Message-ID: <2031127755.49690.1321832393072.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (HBASE-2856) TestAcidGuarantee broken on trunk 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-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153852#comment-13153852 ] Lars Hofhansl edited comment on HBASE-2856 at 11/20/11 11:38 PM: ----------------------------------------------------------------- @Nicolas and @Amit, could you review the 0.92 patch? It turned out to be much more manual than I had wished or expected, so it is very possible that I missed something. (I tried to upload the 0.92 patch to review board for easier verification, but apparently that does not work for branches other than trunk.) was (Author: lhofhansl): @Nicolas and @Amit, could you review the 0.92 patch? I turned out to be much more manual than I had wished or expected, so it is very possible that I missed something. (I tried to upload the 0.92 patch to review board for easier verification, but apparently that does not work for branches other than trunk.) > TestAcidGuarantee broken on trunk > ---------------------------------- > > Key: HBASE-2856 > URL: https://issues.apache.org/jira/browse/HBASE-2856 > Project: HBase > Issue Type: Bug > Affects Versions: 0.89.20100621 > Reporter: ryan rawson > Assignee: Amitanand Aiyer > Priority: Blocker > Fix For: 0.94.0 > > Attachments: 2856-0.92.txt, 2856-v2.txt, 2856-v3.txt, 2856-v4.txt, 2856-v5.txt, 2856-v6.txt, 2856-v7.txt, 2856-v8.txt, 2856-v9-all-inclusive.txt, acid.txt > > > TestAcidGuarantee has a test whereby it attempts to read a number of columns from a row, and every so often the first column of N is different, when it should be the same. This is a bug deep inside the scanner whereby the first peek() of a row is done at time T then the rest of the read is done at T+1 after a flush, thus the memstoreTS data is lost, and previously 'uncommitted' data becomes committed and flushed to disk. > One possible solution is to introduce the memstoreTS (or similarly equivalent value) to the HFile thus allowing us to preserve read consistency past flushes. Another solution involves fixing the scanners so that peek() is not destructive (and thus might return different things at different times alas). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira