[Glass] transactionConflicts, commitResult is readOnly ?

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


Hi Dale,

Thanks for picking this up.

The problem is, of course, that I am suddenly ending up in a ‘read-only’ state… meaning: any change I make goes lost.
I can only exit that state by aborting… which is not what I want to do unless I am sure no state change was lost.

Johan

> On 22 Mar 2017, at 19:13, Dale Henrichs via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> Good Question.
> 
> It turns out that both #readOnly and #success indicate successful commits.
> 
> I am in the process of determining how any objects can show up in the Write-Write set in a read only transaction:)
> 
> I've also submitted an internal bug on this issue (46759 #readOnly #commitResult (in System class>>transactionConflicts) not clearly documented)
> 
> Dale
> 
> 
> On 03/22/2017 03:46 AM, Johan Brichau via Glass wrote:
>> Hi,
>> 
>> Trying to port our Parasol tests from GS2.4 to GS3.2 I encounter a commit transaction issue after executing tests in 3.2 which I do not have in 2.4
>> 
>> After test execution, the result of `System transactionConflicts` has a value #readOnly for the #commitResult.
>> I don’t find a lot of help to know what that means.
>> Actually, except the write-write entry, I don’t really know how to interpret the other symbols because they are not mentioned in the progguide for 3.2
>> 
>> Can someone shed some light on this so I can dig deeper and understand what’s going on?
>> 
>> thx
>> Johan
>> 
>> Other values in the dict:
>> #’WriteWrite_minusRcReadSet’ -> anArray( aWADocumentHandler, aWADocumentHandler, aNPSession)
>> 
>> #RcReadSet -> anArray( aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcKeyValueDictionary( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( aWADocumentHandler), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( aNPSession), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( ), aRcCollisionBucket( aWADocumentHandler), aRcCollisionBucket( ), aRcCollisionBucket( aNPSession), aRcCollisionBucket( ), …)
>> 
>> #Write-Write -> anArray( aWADocumentHandler, aWADocumentHandler, aRcCollisionBucket( ), aRcCollisionBucket( ), aNPSession)
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> 
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass



More information about the Glass mailing list