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 2 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
commit e548d2fa41d1baa06662ed9abbb8bcec86e27dd9 Author: Alan Somers <firstname.lastname@example.org> Date: 2017-04-14T03:44:20.000Z 7900 zdb shouldn't print the path of a znode at verbosity < 5 Reviewed by: Paul Dagnelie <email@example.com> Reviewed by: Matt Ahrens <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>