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

Problem: consistency is not checked on startup #1129

Open
yihuang opened this issue Aug 9, 2023 · 1 comment
Open

Problem: consistency is not checked on startup #1129

yihuang opened this issue Aug 9, 2023 · 1 comment

Comments

@yihuang
Copy link
Collaborator

yihuang commented Aug 9, 2023

if the memiavl directory is dirty, we might get errors later down the stream.

do some checks on startup to find issues early on:

  • tmp snapshot directories
  • snapshots that's later than the "current" one
  • the "current" snapshot do exists.
  • wal covers all the snapshots.
@leejw51crypto
Copy link
Contributor

also print how to recover

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

No branches or pull requests

2 participants