[
https://issues.apache.org/jira/browse/HDDS-9266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hemant Kumar updated HDDS-9266:
-------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Acceptance test for snapshot data validation after OM bootstrapping
> -------------------------------------------------------------------
>
> Key: HDDS-9266
> URL: https://issues.apache.org/jira/browse/HDDS-9266
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Christos Bisias
> Assignee: Christos Bisias
> Priority: Major
> Labels: pull-request-available
>
> Create an acceptance test for validating snapshot data after bootstrapping an
> OM and Ratis snapshot has been installed on it. The test should follow the
> steps below
> * start the docker dev environment with an om inactive
> * create 100 key metadata
> * take snapshot 1
> * create 2 actual keys, every key’s contents will be the same as the key name
> * take snapshot 2
> * bootstrap the inactive om
> * check that ratis snapshot has been installed on the bootstrapped om and
> checkpoints have been made
> * transfer leadership to the bootstrapped om
> * check that snapshots 1 and 2 exist on the bootstrapped om
> * check snap diff for snapshots 1 and 2, diff should return the two keys
> created earlier
> * check the 2 keys under snapshot 2 on the bootstrapped om
> ** e.g. ozone sh key cat /vol/bucket/.snapshot/snap/key
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]