Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.99.0, 1.0.0, 3.0.0-alpha-1, 2.0.0
-
None
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-10804 Add a validations step to ExportSnapshot
- Closed
- links to