[ 
https://issues.apache.org/jira/browse/HBASE-26720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Kyle Purtell updated HBASE-26720:
----------------------------------------
    Fix Version/s: 2.4.12
                       (was: 2.4.11)

> 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: xichaomin
>            Priority: Major
>             Fix For: 2.5.0, 1.7.2, 2.6.0, 3.0.0-alpha-3, 2.4.12
>
>         Attachments: HBASE-26720.v01.patch
>
>
> 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