Hi Thomas,

Really great, thank you. I will do more tests, then it will be ready to 
merge with trunk.

-Nicolas Fortin
Atelier SIG
IRSTV FR CNRS 2488

Le mardi 16 juillet 2013 22:51:09 UTC+2, Thomas Mueller a écrit :
>
> Hi,
>
> I found and fixed the problem now. It wasn't a concurrency problem at all 
> (although I did fix a potential concurrency issue as well). The problem was 
> the same page could be freed up twice, which ended up with a negative fill 
> ratio for the chunk. This is fixed now in the trunk.
>
> By the way, the reason why it doesn't show up earlier is that the problem 
> only appeared when the background thread was compacting, and this is done 
> after 45 seconds (so that data in the file is not overwritten for 45 
> seconds). This is done for added data protection in case of power failure 
> and to avoid having to call fsync, see also 
> http://stackoverflow.com/questions/13650134/after-how-many-seconds-are-file-system-write-buffers-typically-flushed-
>  but for testing you could change it using MVStore.setRetentionTime(1000).
>
> Regards,
> Thomas
>

-- 
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/groups/opt_out.


Reply via email to