> Would upgrading to the latest h2 1.1 be beneficial at all?
> In other words, is this is problem that has been fixed already?
Yes, an important problem was fixed. See
http://www.h2database.com/html/changelog.html :
Version 1.1.108 (2009-02-28)
"When the shutdown hook closed the database, the last log file was
deleted too early. This could cause uncommitted changes to be
persisted."
Later I found out this problem can also cause data corruption. I will
update the change log entry.
Regards,
Thomas
>
>> Would upgrading to the latest h2 1.1 be beneficial at all?
>>
> Yes, an important problem was fixed. See
> http://www.h2database.com/html/changelog.html :
>
> Version 1.1.108 (2009-02-28)
> "When the shutdown hook closed the database, the last log file was
> deleted too early. This could cause uncommitted changes to be
> persisted."
But I guess there is nothing new in there, that guards better against
system crashes, power outage and the like, right?
Thanks,
-hendrik
> But I guess there is nothing new in there, that guards better against
> system crashes, power outage and the like, right?
I tested power outage (using a christmas light timer and an old
computer). It did cause corrupted databases (not only H2, also Apache
Derby and HSQLDB; I didn't test others so far).
I'm working on a new storage mechanism (I call it 'page store') that
should better protect against such problems. I did have to read a lot
about how file systems work, and how they solve such problems
(problems like: data was written to the wrong location). However it
will take a few more month until the 'page store' is ready to use.
Regards,
Thomas
Thanks, Thomas, I am certainly not expecting magic - I was just
wondering what the status is.
Looking forward to an even better h2!
-hendrik