There is an open issue about shutdown defrag corrupting db, 
https://github.com/h2database/h2database/issues/187 . I've had similar 
issue with non-split 1.4.190 DB. In my case the issue was, when opening DB 
that was shut down with shutdown defrag,

Caused by: java.lang.ClassCastException: org.h2.value.ValueLong cannot be cast 
to java.lang.Long
        at org.h2.store.LobStorageMap.init(LobStorageMap.java:128)
        at org.h2.engine.Database.open(Database.java:767)
        at org.h2.engine.Database.openDatabase(Database.java:269)


Sorry, I couldn't come up with a nice isolated test case (yet). It happens 
in rather complex testing scenario where the DB gets re-opened very soon - 
possibly concurrently with an ongoing shutdown defrag, but H2 locks should 
take care of that, right?

Best Regards,
Joonas

torstai 5. marraskuuta 2015 2.44.43 UTC+2 Thomas Mueller kirjoitti:
>
> Hi,
>
> It is true, the PageStore engine is probably more stable, as it is 
> available since a very long time now.
>
> However, I think the MVStore engine also ready for production now. No 
> serious issues have been reported since quite a long time now. I think I 
> will mark the next version of H2 (using the MVStore engine as the default) 
> as stable, unless somebody objects.
>
> Regards,
> Thomas
>
>
> On Wednesday, November 4, 2015, Alexander Lauper <[email protected] 
> <javascript:>> wrote:
>
>> ok, I will switch to 1.4 using the original storage engine.
>> thanks Noel
>>
>> -- 
>> 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 post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/h2-database.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to