[ 
https://issues.apache.org/jira/browse/HBASE-8341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632326#comment-13632326
 ] 

Enis Soztutar commented on HBASE-8341:
--------------------------------------

bq. I'd prefer it if the TableDescriptor fix was a separate patch as it is a 
different and not directly related problem than the title.
I only discovered it while re-reading those code paths related to the patch. 
I'll edit the jira description, and title to add info. 
bq.  or commit as two separate patches?
One issue -> one commit is cleaner. 
                
> 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

Reply via email to