-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
panic in fillTablesL0 #671
Comments
I logged some more information inside the
I should also note that it's always reproducible. I worked with the database all day but somehow in the last couple hours something went wrong somewhere. |
I think this table is the problem:
and its hexdump
If I'm not misunderstanding the code overlappingTables seems to produce something wrong because of this table. |
It's really bizarre that your table boundaries are nil arrays. Do you reckon something external to Badger might have modified these files? For that matter, we should checksum these tables and store them in MANIFEST -- or as the last few bytes of the tables, so we can ensure they haven't been accidentally modified. |
I'm not sure what external process would have modified the files because the database lives on its own server which does nothing else, but maybe I did something somewhere which messed it up. What I know is that I killed my program while the database was being opened a number of times (I'm testing my program on this database) and after sometime I got this. However, right now I'm unable to reproduce this error. After testing your branch regarding loading times, somehow this panic disappeared, so I'm not sure what to make of it. |
There was a bug in my branch which could have triggered this. I fixed those bugs in the branch and merged to master. If you still see this issue in master, feel free to reopen, or create a new issue. |
Hi,
I just encountered this panic:
I'll attach my
badger info
result if that helps.badger_info.txt
The text was updated successfully, but these errors were encountered: