Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DDDF2200C76 for ; Sat, 13 May 2017 17:03:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DC8BD160BBB; Sat, 13 May 2017 15:03:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2CFCF160BB7 for ; Sat, 13 May 2017 17:03:08 +0200 (CEST) Received: (qmail 62237 invoked by uid 500); 13 May 2017 15:03:07 -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 62224 invoked by uid 99); 13 May 2017 15:03:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 May 2017 15:03:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id ACDED188A36 for ; Sat, 13 May 2017 15:03:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.001 X-Spam-Level: X-Spam-Status: No, score=-98.001 tagged_above=-999 required=6.31 tests=[KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6fWD1UxeoFac for ; Sat, 13 May 2017 15:03:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 325095FCBA for ; Sat, 13 May 2017 15:03:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 73E98E065C for ; Sat, 13 May 2017 15:03:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 273AA24015 for ; Sat, 13 May 2017 15:03:04 +0000 (UTC) Date: Sat, 13 May 2017 15:03:04 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17887) Row-level consistency is broken for read MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 13 May 2017 15:03:09 -0000 [ https://issues.apache.org/jira/browse/HBASE-17887?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D160= 09363#comment-16009363 ]=20 Ted Yu commented on HBASE-17887: -------------------------------- Another case: http://104.198.223.121:8080/job/HBase-Flaky-Tests/24813/testReport/junit/or= g.apache.hadoop.hbase/TestAcidGuarantees/testMobScanAtomicity_0_/ Overall, the test only occasionally fails - much improvement. > Row-level consistency is broken for read > ---------------------------------------- > > Key: HBASE-17887 > URL: https://issues.apache.org/jira/browse/HBASE-17887 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 2.0.0, 1.3.0 > Reporter: Umesh Agashe > Assignee: Chia-Ping Tsai > Priority: Blocker > Fix For: 2.0.0, 1.4.0, 1.3.2 > > Attachments: HBASE-17887.branch-1.v0.patch, HBASE-17887.branch-1.= v1.patch, HBASE-17887.branch-1.v1.patch, HBASE-17887.branch-1.v2.patch, HBA= SE-17887.branch-1.v2.patch, HBASE-17887.branch-1.v3.patch, HBASE-17887.bran= ch-1.v4.patch, HBASE-17887.branch-1.v4.patch, HBASE-17887.branch-1.v4.patch= , HBASE-17887.branch-1.v5.patch, HBASE-17887.branch-1.v6.patch, HBASE-17887= .ut.patch, HBASE-17887.v0.patch, HBASE-17887.v1.patch, HBASE-17887.v2.patch= , HBASE-17887.v3.patch, HBASE-17887.v4.patch, HBASE-17887.v5.patch, HBASE-1= 7887.v5.patch > > > The scanner of latest memstore may be lost if we make quick flushes. The = following step may help explain this issue. > # put data_A (seq id =3D 10, active store data_A and snapshots is empty) > # snapshot of 1st flush (active is empty and snapshot stores data_A) > # put data_B (seq id =3D 11, active store data_B and snapshot store data_= A) > # create user scanner (read point =3D 11, so It should see the data_B) > # commit of 1st flush > #* clear snapshot ((hfile_A has data_A, active store data_B, and snapshot= is empty) > #* update the reader (the user scanner receives the hfile_A) > # snapshot of 2st flush (active is empty and snapshot store data_B) > # commit of 2st flush > #* clear snapshot (hfile_A has data_A, hfile_B has data_B, active is empt= y, and snapshot is empty) =E2=80=93 this is critical piece. > #* -update the reader- (haven't happen) > # user scanner update the kv scanners (it creates scanner of hfile_A but = nothing of memstore) > # user see the older data A =E2=80=93 wrong result -- This message was sent by Atlassian JIRA (v6.3.15#6346)