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

David Manning commented on HBASE-26720:
---------------------------------------

[~apurtell] I don't have a patch yet, but I do still plan to work on it. I am 
not opposed to giving up ownership if anyone else already has a patch.

> ExportSnapshot should validate the source snapshot before copying files
> -----------------------------------------------------------------------
>
>                 Key: HBASE-26720
>                 URL: https://issues.apache.org/jira/browse/HBASE-26720
>             Project: HBase
>          Issue Type: Improvement
>          Components: snapshots
>    Affects Versions: 0.99.0, 1.0.0, 3.0.0-alpha-1, 2.0.0
>            Reporter: David Manning
>            Assignee: David Manning
>            Priority: Major
>             Fix For: 2.5.0, 1.7.2, 2.6.0, 3.0.0-alpha-3, 2.4.11
>
>
> RunningĀ {{ExportSnapshot}} with default parameters will copy the snapshot to 
> a target location, and then use {{verifySnapshot}} to validate the integrity 
> of the written snapshot. However, it is possible for the source snapshot to 
> be invalid which leads to an invalid exported snapshot.
> We can validate the source snapshot before export.
> By default, we can validate the source snapshot unless the 
> {{-no-target-verify}} parameter is set. We could also introduce a separate 
> parameter for {{-no-source-verify}} if an operator wanted to validate the 
> target but not validate the source for some reason, to provide some amount of 
> backwards compatibility if that scenario is important.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to