Bug 2214253
| Summary: | [Regression] thin_repair doesn't choose the most recent record while rebuilding superblock after updating DMDP to 1.0.4 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Filip Suba <fsuba> |
| Component: | device-mapper-persistent-data | Assignee: | Ming-Hung Tsai <mtsai> |
| Status: | CLOSED ERRATA | QA Contact: | Filip Suba <fsuba> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.3 | CC: | agk, heinzm, lvm-team, mcsontos, msnitzer, mtsai, thornber |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | device-mapper-persistent-data-1.0.6-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-07 08:56:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Filip Suba
2023-06-12 10:59:48 UTC
Fixed upstream. Will be available in the next release. https://github.com/jthornber/thin-provisioning-tools/commit/aa5a10af Shipped in upstream v1.0.5. Also added automated unit & functional tests (via cargo --test [--release]) Unit tests: ``` test thin::metadata_repair::sorting_roots_tests::test_with_empty_lhs ... ok test thin::metadata_repair::sorting_roots_tests::test_with_empty_rhs ... ok test thin::metadata_repair::sorting_roots_tests::test_with_greater_counts_at_lhs ... ok test thin::metadata_repair::sorting_roots_tests::test_with_greater_counts_at_rhs ... ok test thin::metadata_repair::sorting_roots_tests::test_with_greater_time_at_lhs ... ok test thin::metadata_repair::sorting_roots_tests::test_with_greater_time_at_rhs ... ok test thin::metadata_repair::sorting_roots_tests::test_with_two_empty_sets ... ok ``` Functional tests for thin_dump: ``` test repair_metadata_with_empty_roots ... ok ``` Verified with device-mapper-persistent-data-1.0.6-1.el9. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (device-mapper-persistent-data bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6701 |