Hello,

When I run the H2 unit tests TestFileLockSerialized with property 
h2.ModifyOnWrite set to true, the testTwoWriters test takes quite a lot of 
time (I killed it after about two hours). I'm wondering if there might not 
be an interlock. The main thread is hung on the "drop table test" statement 
whereas the other thread is on its "select * from test" statement.
I know the h2.ModifyOnWrite is new and not for production yet but maybe 
this information could help make it work better in most situations.
We made these tests because we're experiencing troubles with the SERIALIZED 
file_lock mode and are looking for improvements (see 
https://groups.google.com/d/topic/h2-database/unohFtz83cg/discussion for 
the troubles we're facing).

Regards

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/5d28e3bkpX8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to