zdb shouldn't print the path of a znode at verbosity < 5
zdb shouldn't print the path of a znode at verbosity < 5. There are two reasons:
1) Finding a znode's path is slower than printing any other znode information at verbosity < 5.
2) On a corrupted pool like the one mentioned below, zdb will crash when it tries to determine the znode's path. But with this patch, zdb can still extract useful information from such pools.
Updated by Electric Monk over 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit e548d2fa41d1baa06662ed9abbb8bcec86e27dd9 Author: Alan Somers <email@example.com> Date: 2017-04-14T03:44:20.000Z 7900 zdb shouldn't print the path of a znode at verbosity < 5 Reviewed by: Paul Dagnelie <firstname.lastname@example.org> Reviewed by: Matt Ahrens <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>