Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Tools to recover pebble from a corrupted state #6628

Open
zhangchiqing opened this issue Nov 7, 2024 · 0 comments
Open

[Storage] Tools to recover pebble from a corrupted state #6628

zhangchiqing opened this issue Nov 7, 2024 · 0 comments

Comments

@zhangchiqing
Copy link
Member

zhangchiqing commented Nov 7, 2024

In case pebble database state is corrupted, we need a tool to recover it back to a normal state. Similar to badgerDB's truncate DB method.

https://pkg.go.dev/github.com/cockroachdb/pebble#DB.Close

We can probably try reproducing it by a test case that panic while writing data.

@janezpodhostnik @peterargue @j1010001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants