zdb: ASSERT at module/zfs/ddt.c:1238:ddt_lookup()
while trying to get block stats on active pool
#16824
Labels
Type: Defect
Incorrect behavior (e.g. crash, hang)
System information
Describe the problem you're observing
Invoking
zdb -Lbbbs
on a pool with fast dedup, while the pool is under write load, results in a crash due to an assertion:As far as I'm aware, zdb is supposed to be safe to run on imported and active pools. The man page warns that it's "possible, though unlikely, that zdb may interpret inconsistent pool data and behave erratically", however, this crash was reproducible in 100% of invocations so far so I'm assuming something might be wrong outside of expected breakage levels.
Describe how to reproduce the problem
Unknown.
`zpool create` invocation
Include any warning/errors/backtraces from the system logs
zdb backtrace (optimized build w/debuginfo):
The text was updated successfully, but these errors were encountered: