arunsarin85 opened a new pull request, #10951: URL: https://github.com/apache/ozone/pull/10951
## What changes were proposed in this pull request? This PR adds an integration test, TestOmSnapshotCheckpointDbContent, to verify that snapshot checkpoint DB metadata for a bucket prefix is preserved across snapshot defrag iterations (HDDS-13217). Please describe your PR in detail: This PR adds a new integration test, TestOmSnapshotCheckpointDbContent, to verify that snapshot checkpoint DB metadata for a bucket prefix is preserved across snapshot defrag iterations (HDDS-13217). The test uses a dedicated MiniOzone cluster with snapshot defrag enabled and covers two scenarios: 1. Create snapshots S1, S2, and S3 on a bucket, trigger defrag, and verify each defragged checkpoint still matches its version-0 baseline captured at snapshot creation time. 2. After an initial defrag pass, delete the middle snapshot (S2), purge it, trigger defrag again, and verify the remaining snapshot (S3) still matches its baseline. Because version-0 checkpoint directories are removed after defrag, the test captures baselines before the first defrag and compares against the active snapshot view after defrag completes. Each test method starts a fresh cluster to avoid cross-test interference on the snapshot defrag chain. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13217 ## How was this patch tested? https://github.com/arunsarin85/ozone/actions/runs/30941614952 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
