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 649B2CE13 for ; Fri, 11 May 2012 05:09:12 +0000 (UTC) Received: (qmail 74457 invoked by uid 500); 11 May 2012 05:09:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74232 invoked by uid 500); 11 May 2012 05:09:11 -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 74218 invoked by uid 99); 11 May 2012 05:09:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2012 05:09:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 11 May 2012 05:09:05 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 631704903A2 for ; Fri, 11 May 2012 05:08:45 +0000 (UTC) Date: Fri, 11 May 2012 05:08:45 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: <1523676399.53231.1336712925407.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1019324333.52383.1336693669102.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5986) Clients can see holes in the META table when regions are being split 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-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273045#comment-13273045 ] Lars Hofhansl commented on HBASE-5986: -------------------------------------- @Enis: yes HRegion.mutateRowsWithLock() has correct MVCC semantics even across multi row scans. The region boundary could be between start_key1 and mid_key1 if there rows inserted and deleted before... Still unlikely. To be safe we could just have a splitKeyPolicy that never splits the table prefix (i.e. all keys for the same table are guaranteed to be in the region). > Clients can see holes in the META table when regions are being split > -------------------------------------------------------------------- > > Key: HBASE-5986 > URL: https://issues.apache.org/jira/browse/HBASE-5986 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.1, 0.96.0, 0.94.1 > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Attachments: HBASE-5986-test_v1.patch > > > We found this issue when running large scale ingestion tests for HBASE-5754. The problem is that the .META. table updates are not atomic while splitting a region. In SplitTransaction, there is a time lap between the marking the parent offline, and adding of daughters to the META table. This can result in clients using MetaScanner, of HTable.getStartEndKeys (used by the TableInputFormat) missing regions which are made just offline, but the daughters are not added yet. > This is also related to HBASE-4335. -- 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