etcd-io / etcd-io/bbolt

Ensure the check command do not panic

Open
#581 5 comments 0 reactions 0 assignees View on GitHub
priority/important stage/tracked type/feature
Dominant language
Go
Stars
9.7k
Forks
753
Avg merge
1d 8h
Merged PRs (30d)
18

Description

When a db file is corrupted, usually we depend on the [check command](https://github.com/etcd-io/bbolt/blob/ef065626c30a379c5b336c96a8175abb19b78425/cmd/bbolt/main.go#L124) 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.