> 1. http://www.h2database.com/html/advanced.html#mvcc :
> "If multiple connections concurrently try to update the same row, this
> database fails fast: a concurrent update exception is thrown."
This is no longer the case. I will change the documentation to: "If
multiple connections concurrently try to update the same row, the
database waits until it can apply the change, but at most until the
lock timeout expires.". I hope it is understandable...
> bug in docs?
A bug in the documentation.
> what is expected behavior?
The second connection should be able to update (you may need to change
the lock timeout).
Regards,
Thomas
> if mvcc is stable enough why not to make it default
> mode then?
Because it's not stable :-)
> I think this will dramatically increase chances to find remaining bugs :)
I think the risk is too high at the moment. Once I feel it's enough
stable, I will create a new version (probably 1.2.x) that is marked as
'beta' - and enable it by default in this version. But currently I
don't plan to do that - the new storage format is more important I
believe.
Regards,
Thomas