Ensure the check command do not panic
Author: ahrtrCreated Oct 18, 2023Updated Jun 4, 2026
Labelstype/featurepriority/importantstage/tracked
When a db file is corrupted, usually we depend on the check command to diagnose the db file. But if the check command also crashes/panics, then it won't be able to provide any useful diagnosis info.
So we should ensure the check command doesn't panic.
Source: etcd-io/bbolt