-
Notifications
You must be signed in to change notification settings - Fork 161
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
DB corrupted after graceful shutdown #626
Comments
If you want to reproduce this I recommend building from this branch and running with |
Uh oh :/ I'll take a look |
@raphjaph I think I'm not doing it right. Here are the steps I followed:
Indexing seems to continue just fine from there. Did I miss a step? |
@cberner maybe run it without This is what I did: |
I was able to reproduce it by using |
Ok, I think I found the issue. Can you try opening that database with master? |
@cberner This looks good! When would you plan to make a release? We'd want to release a new ord version as quickly as possible and prefer to base on a redb release. |
I'll make a new release today. Just letting the fuzzer run for a few hours first |
Awesome, thanks for fixing so quickly! |
For sure! Thank for finding this |
I'm upgrading
redb
from 0.13.0 to 1.0.1 because we wanted to pull in this fix. If I now run this as a service on a debian machine until around blockheight777000
and dosystemctl stop ord
andsystemctl start ord
I get the following:I think I'm shutting it down gracefully and also tested this on Mac, where the same happens. We're also using Multimaps now, in case that helps with debugging. Let me know how I can provide more information.
The text was updated successfully, but these errors were encountered: