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 F0BCC107A8 for ; Sat, 13 Apr 2013 00:16:15 +0000 (UTC) Received: (qmail 14653 invoked by uid 500); 13 Apr 2013 00:16:15 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 14605 invoked by uid 500); 13 Apr 2013 00:16:15 -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 14596 invoked by uid 99); 13 Apr 2013 00:16:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Apr 2013 00:16:15 +0000 Date: Sat, 13 Apr 2013 00:16:15 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8341) RestoreSnapshotHandler.prepare() is not called by SnapshotManager 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-8341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-8341: --------------------------------- Attachment: hbase-8341_v1.patch Simple patch. > RestoreSnapshotHandler.prepare() is not called by SnapshotManager > ------------------------------------------------------------------- > > Key: HBASE-8341 > URL: https://issues.apache.org/jira/browse/HBASE-8341 > Project: HBase > Issue Type: Bug > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 0.98.0, 0.95.1 > > Attachments: hbase-8341_v1.patch > > > In HBASE-7848, we added table lock to enabled/disabled snapshot handlers, and fixed SnapshotManager to call CloneSnapshotHandler.prepare() in HBASE-7957. It seems that we overlooked the RestoreSnapshotHandler.prepare(). In this issue we should fix that so that we acquire the table lock in restore snapshot. -- 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