org.mapdb.DBException$DataCorruption: headPrev error
MikeyCarter opened this issue · 0 comments
MikeyCarter commented
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.