Hi Andrei, Yes, that is what I was expecting. Makes perfect sense of course.
SQL dump/restore broke when going from 1.4.x to 2.x.x and we found no way to work around that. We came up with our own dump/restore format that only reuses the DDL part of the old database which seemed to be compatible accross versions and uses CSV for the data. As long as the DDL matches we should be fine there. We where not planning of jumping onto an unreleased version. Actually it is quite the opposite since we are only allowed to use released versions. But I read some thing about improvements that I was curious about and decided to give it a try on a test server. I guess we will just have to wait for the next release. On Friday, 16 June 2023 at 15:49:12 UTC+2 Andrei Tokar wrote: > Hi Silvio, > SQL dump / restore is the only supported way to transition from one > version to the other. > We are making our best trying to preserve compatibility with older db > files, but again, it's on a "best effort" basis. > Forward compatibility is totaly out of question. > And that's I've been talking about released versions. Jumping onto > unreleased version is totally "leap of faith", should be no expectations > about switching back, or compatibility with future released version. SQL > dump/restore should work most of the time though. > > > On Tuesday, June 13, 2023 at 5:45:10 AM UTC-4 Silvio wrote: > >> Hello all, >> >> I created a H2 test build from current trunk. Using this on a bunch of >> databases created with 2.1.214 I get the following error on a rather large >> part of them: >> >> org.h2.mvstore.MVStoreException: File is corrupted - unable to recover a >> valid set of chunks [2.2.219/6] >> >> When reverting to 2.1.214 the problem disappears. >> >> Do databases have to be dumped/restored for this to work properly? Or is >> 2.2.219 supposed to be able to use databases created with 2.1.214? >> >> >> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/6fb69c8d-bd3a-4793-be1c-d1246d9434f8n%40googlegroups.com.
