Re: [h2] upgrade from 1.4.197 to 1.4.200 broke db
yes, you're going to need to do a dump/restore across those versions -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/CAFYHVnWX1f-YB%3DCZPu2mdUjkwYC5sOnPxYU8hgYT%3DJzfpYG8yQ%40mail.gmail.com.
[h2] upgrade from 1.4.197 to 1.4.200 broke db
Just upgraded H2 from 1.4.197 to 1.4.200 and our DB broke. Downgrade resolved the issue. Comment? The stack trace is as follows: org.h2.jdbc.JdbcSQLNonTransientException: General error: "java.lang.IllegalStateException: Unable to read the page at position 549755823680 [1.4.200/6]" [5-200] at org.h2.message.DbException.getJdbcSQLException(DbException.java:505) at org.h2.message.DbException.getJdbcSQLException(DbException.java:429) at org.h2.message.DbException.get(DbException.java:194) at org.h2.message.DbException.convert(DbException.java:347) at org.h2.engine.Database.openDatabase(Database.java:333) at org.h2.engine.Database.(Database.java:301) at org.h2.engine.Engine.openSession(Engine.java:74) at org.h2.engine.Engine.openSession(Engine.java:192) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:171) at org.h2.engine.Engine.createSession(Engine.java:166) at org.h2.engine.Engine.createSession(Engine.java:29) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:340) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:173) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:152) at org.h2.Driver.connect(Driver.java:69) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:247) .. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalStateException: Unable to read the page at position 549755823680 [1.4.200/6] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:950) at org.h2.mvstore.MVStore.readPage(MVStore.java:2213) at org.h2.mvstore.MVMap.readPage(MVMap.java:672) at org.h2.mvstore.MVMap.readOrCreateRootPage(MVMap.java:688) at org.h2.mvstore.MVMap.setRootPos(MVMap.java:682) at org.h2.mvstore.MVStore.openMap(MVStore.java:576) at org.h2.mvstore.MVStore.openMap(MVStore.java:535) at org.h2.mvstore.MVStore.openMap(MVStore.java:516) at org.h2.mvstore.MVStore.removeMap(MVStore.java:2742) at org.h2.engine.Database.handleUpgradeIssues(Database.java:866) at org.h2.engine.Database.open(Database.java:742) at org.h2.engine.Database.openDatabase(Database.java:307) ... 21 common frames omitted Caused by: java.lang.IllegalStateException: Unsupported type 17 [1.4.200/3] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:950) at org.h2.mvstore.type.ObjectDataType.newType(ObjectDataType.java:165) at org.h2.mvstore.type.ObjectDataType.read(ObjectDataType.java:229) at org.h2.mvstore.type.ObjectDataType.read(ObjectDataType.java:114) at org.h2.mvstore.Page.read(Page.java:605) at org.h2.mvstore.Page.read(Page.java:239) at org.h2.mvstore.MVStore.readPage(MVStore.java:2211) ... 31 common frames omitted -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/075b12f9-1b44-4a01-80b8-8dd08d59802c%40googlegroups.com.