-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-9.3.0, rhel-9.4
-
None
-
device-mapper-persistent-data-1.0.9-1.el9
-
None
-
Moderate
-
ZStream
-
e7d19e8f3f0041e54b68b19101d009b7c2663e71
-
rhel-sst-logical-storage
-
ssg_filesystems_storage_and_HA
-
24
-
2
-
QE ack, Dev ack
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
Approved Blocker
-
Pass
-
None
-
-
All
-
None
Steps to reproduce
- Prepare a dummy metadata file: `dd if=/dev/zero of=meta.bin bs=1M count=1`
- Run era_invalidate on the blank file with `--written-since` option provided: `era_invalidate meta.bin --written-since 0`
Expected results
The program should exit with just an error message, but no panics
```
bad checksum in superblock
```
Actual results
The program exits with panics
```
thread 'main' panicked at 'Mismatch between definition and access of `WRITTEN_SINCE`. Could not downcast to TypeId { t: 4518903163082958039 }, need to downcast to TypeId { t: 7975126953263805836 }
', /home/<name>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.19/src/parser/error.rs:32:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
- depends on
-
RHEL-19246 Rebase dmpd to release 1.0.9
- Closed