Comment 12 for bug 788590

Revision history for this message
Scott Ritchie (sritchie) wrote : Re: [Bug 788590] Re: Lots of UserGameProfiles created simultaneously

Ah ok;

Just to clarify entity groups;
In an owned relationship both objects are in the same entity group. Thats
why you can only have very simple entity relations as owned relationships.
I wasn't aware of the other conditions so maybe thats why.
But in that regard, why isnt this transactional nature defualt? Surely you
would *always* want lookups to the datastore to be in transactions to
prevent
the cases we're having to code around here. Thats what i dont understand
about the way GAE works.

On Mon, May 30, 2011 at 8:19 PM, Matt Giuca <email address hidden>wrote:

> Yep. I don't quite know how an owned relationship works. It may be an
> entity group, but that doesn't necessarily mean transactions would "just
> work". There is a long list of conditions you need to satisfy for
> transactions to work (e.g., queries must be ancestor queries).
>
> --
> You received this bug notification because you are subscribed to MUGLE.
> https://bugs.launchpad.net/bugs/788590
>
> Title:
> Lots of UserGameProfiles created simultaneously
>
> Status in Mars Programming Language:
> Invalid
> Status in Melbourne University Game-based Learning Environment:
> Triaged
>
> Bug description:
> For every "real" user game profile created, there are about 10
> completely blank ones, without even a user.
>