Ok, I have removed MVCC again. I have now added logging to the application; 
hopefully, that will give me more information when it happens again.

On Thursday, August 22, 2013 2:53:11 PM UTC+2, Noel Grandin wrote:
>
>  
> I strongly suggest that you do not use the MVCC option. 
> It has the potential to trigger some interesting bugs and we are going to 
> drop it at some point.
>
> On 2013-08-22 14:46, Aaron Digulla wrote:
>  
>
> Somehow, I can't replicate the problem anymore :-( 
>
>  The URL was jdbc:h2:tmp/h2/sudoTests
>
>  What I still know:
>
>  - I played with the option MVCC=true but that didn't seem to help.
> - I now have MVCC enabled because some tests use several threads.
> - The tests create a couple of rows in two threads. One thread then 
> commits and the other then does a rollback.
>
> Suggestion for a feature request: If MVCC isn't enabled, remember the 
> thread that H2 was started with and check in a central place that the 
> current thread hasn't changed. This should be pretty cheap and allow you to 
> print a warning or throw an error "Please enable MVCC if you use threads"
>
> Regards,
>
> On Tuesday, August 20, 2013 3:59:23 PM UTC+2, Noel Grandin wrote: 
>>
>>  What does your database URL look like?
>>
>> On 2013-08-20 15:57, Aaron Digulla wrote:
>>  
>>
>> During rollback of a transaction, I sometimes see this error:
>>
>>
>>  
>>   
>>   -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected]<javascript:>
> .
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>  

-- 
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