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

org.mapdb.DBException$DataCorruption: headPrev error #1036

Open
MikeyCarter opened this issue Dec 22, 2023 · 0 comments
Open

org.mapdb.DBException$DataCorruption: headPrev error #1036

MikeyCarter opened this issue Dec 22, 2023 · 0 comments

Comments

@MikeyCarter
Copy link

I've seen this show up a lot lately. The only way I can seem to get rid of it is to drop the database and start over.

org.mapdb.DBException$DataCorruption@4708a799[
  cause=<null>
  detailMessage=headPrev error
  stackTrace={}
  suppressedExceptions=[]

What could be the cause? Is there some way to correct, drop or recover without removing the database files? If there is no way to recover from corruption online could I suggest a feature to drop corrupt records. I'm using MapDB as a cache to keep things out of RAM that aren't frequently used so in my case requerying and repopulating is easy. Just need a way to drop the corrupt records.

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

1 participant