DB corruption

55 views
Skip to first unread message

Meni Hillel

unread,
Mar 19, 2017, 10:14:06 PM3/19/17
to H2 Database

My db got corrupted. Tried the recovery tool, but got error. Would appreciate any help.



Exception in thread "main" java.lang.IllegalStateException: File corrupted in chunk 831690, expected page length 4..768, got 0 [1.4.193/6]
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765)
at org.h2.mvstore.Page.read(Page.java:649)
at org.h2.mvstore.Page.read(Page.java:195)
at org.h2.mvstore.MVStore.readPage(MVStore.java:1954)
at org.h2.mvstore.MVMap.readPage(MVMap.java:736)
at org.h2.mvstore.Page.getChildPage(Page.java:217)
at org.h2.mvstore.Cursor.min(Cursor.java:129)
at org.h2.mvstore.Cursor.hasNext(Cursor.java:36)
at org.h2.mvstore.MVStore.loadChunkMeta(MVStore.java:695)
at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:676)
at org.h2.mvstore.MVStore.(MVStore.java:359)
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2923)
at org.h2.mvstore.MVStoreTool.info(MVStoreTool.java:346)
at org.h2.tools.Recover.process(Recover.java:342)
at org.h2.tools.Recover.runTool(Recover.java:196)
at org.h2.tools.Recover.main(Recover.java:159)

Reply all
Reply to author
Forward
0 new messages