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 62711EA30 for ; Sat, 12 Jan 2013 19:46:14 +0000 (UTC) Received: (qmail 70849 invoked by uid 500); 12 Jan 2013 19:46:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70811 invoked by uid 500); 12 Jan 2013 19:46:13 -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 70693 invoked by uid 99); 12 Jan 2013 19:46:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jan 2013 19:46:13 +0000 Date: Sat, 12 Jan 2013 19:46:13 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7501) Introduce MetaEditor method that both adds and deletes rows in .META. table 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-7501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552021#comment-13552021 ] Jonathan Hsieh commented on HBASE-7501: --------------------------------------- Restore == place the current content of a table with snapshot contents. Ideally this is an atomic transaction on meta so failure recovery doesn't have to rely on hbck. Split could benefit from this as well. > Introduce MetaEditor method that both adds and deletes rows in .META. table > --------------------------------------------------------------------------- > > Key: HBASE-7501 > URL: https://issues.apache.org/jira/browse/HBASE-7501 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Matteo Bertozzi > Attachments: HBASE-7501-v0.patch, HBASE-7501-v1.patch > > > In review of HBASE-7365, MetaEditor.deleteRegions() and MetaEditor.addRegionsToMeta() are used in RestoreSnapshotHandler.java.handleTableOperation() to apply changes to .META. > I made following suggestion: > Can we introduce new method in MetaEditor which takes List of Mutation's ? > The Delete and Put would be grouped and then written to .META. table in one transaction. > Jon responded: > I like that idea -- then the todo/warning or follow on could refer to that method. When we fix it, it could get used in other multi row meta modifications like splits and table creation/deletion in general. > See https://reviews.apache.org/r/8674/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira