I am debugging my simple app with looking into H2 code.
I've found that when I call connection.commit() it goes into
PageLog.flushOut() and deeper to FilePathDisk.write(). But it never
calls FileDescriptor.sync() or FileCHannel.force().
I believe that these should be called after log data flushed.
Is there a connection parameter of system property to achieve syncing
after commit?
I read docs and know about ACCESS_MODE_DATA=rwd and SET WRITE_DELAY 0.
I would prefer to have ACCESS_MODE_DATA=rw for all log writes during a
transaction, but with sync/force at the end of commit. Is it possible?

thanks,
Mark

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
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