Hi Vinny.

My understanding is that even if the operations are in different
transaction space but if they are of the same ancestor or marked XG=true,
the result will be the same.

But your point on handling Exception in your earlier mail is very valid.

Thanks.


*On Tue, Jun 11, 2013 at 11:45 PM, Vinny P <[email protected]> wrote:*

> On Tuesday, June 11, 2013 1:04:36 PM UTC-5, Ananda-GAE wrote:
>
>> *Repeating what I wrote on SO:*
>>
>> From what I have read on documents on 'ndb' I understand that if you are
>> running your get() andput() both in 'transactions' (@ndb.transactional),
>> then you will not get stale data. 'ndb' will either serve the updated data
>> or fail both.
>>
>>
>>
> You're adding a condition that is not necessarily in the original poster's
> meaning. OP said the get is "within a transaction" not necessarily "within
> the same transaction as the put".
>
> We might be getting our wires crossed here. @OP, are you doing the get
> within the same transaction as the put?
>
>
> -----------------
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> My Go side project: http://invalidmail.com/
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" 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/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to