[Glass] transactionConflicts, commitResult is readOnly ?

Johan Brichau via Glass glass at lists.gemtalksystems.com
Wed Mar 22 11:47:12 PDT 2017


Ok, I’m trying to see if I can reproduce the issue with the Parasol tests themselves.
That would make an easy testcase to reproduce in SmalltalkCI

> On 22 Mar 2017, at 19:40, Dale Henrichs via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> 
> 
> On 03/22/2017 08:21 AM, Johan Brichau via Glass wrote:
>> Mariano,
>> 
>> Thanks for sharing that piece of code.
>> 
>> It seems a bit different in my case.
>> By tracing I noticed that it happens right after a seemingly succesful commit. I.e. the following statements happen immediately one after the other:
>> 
>> System commitTransaction
>> —> returns true.
>> System transactionConflicts
>> —> marks the readOnly ‘commitResult’
>> 
>> Any subsequent commit will always return true but nothing is ever committed.
>> 
>> Puzzled…
>> 
> 
> It's puzzling to us as well ... can you provide us with a simple test case ... #readOnly should indicate that there were no persistent objects modified by the session doing the commit, and does not represent a status of the system, in fact a #readOnly commit should be the equivalent of an abort ...
> 
> Dale
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
> http://lists.gemtalksystems.com/mailman/listinfo/glass <http://lists.gemtalksystems.com/mailman/listinfo/glass>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170322/91a8721d/attachment.html>


More information about the Glass mailing list