[
https://issues.apache.org/jira/browse/HDDS-9121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved HDDS-9121.
-----------------------------------
Resolution: Implemented
Resolving as implemented. TestSnapshotBackgroundServices already bootstraps an
inactive follower, transfers leadership to it, and verifies snapshot/key
deletion, compaction-log handling, SST backup pruning and SST filtering. It
also checks subsequent snapshot-diff results. These tests cover the
background-service correctness scope described here.
Evidence at d0949f291791c399f3e54409fcb92656a80597a4:
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestSnapshotBackgroundServices.java#L219
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestSnapshotBackgroundServices.java#L401
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestSnapshotBackgroundServices.java#L475
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestSnapshotBackgroundServices.java#L547
This conclusion is based on the tests present in the repository; they were not
rerun during this audit.
> Confirm snapshot data correctness after bootstrapping
> -----------------------------------------------------
>
> Key: HDDS-9121
> URL: https://issues.apache.org/jira/browse/HDDS-9121
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Hemant Kumar
> Assignee: Sadanand Shenoy
> Priority: Critical
> Labels: integration-test, pull-request-available
>
> The bootstrap processes copies state to the follower for the snapshot differ,
> snapshot delete service and filtering service. We need to have tests confirm
> that each of those service's data is correct after bootstrapping.
> https://github.com/apache/ozone/pull/5083#discussion_r1275538502
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]