[google-appengine] Getting around transactions for same entity group restrictions?

2010-04-27 Thread Mark
Hi, I have a User class in my project, and I can't find a transactionally safe method of creating relationships between users, because User objects are always in their own entity group. The simplest example I can come up with is a follow relationship (like twitter). When a user follows another, b

Re: [google-appengine] Getting around transactions for same entity group restrictions?

2010-04-27 Thread Scott Ellis
You could fire a transactional task within the first transaction - and don't let the task handler finish error free until the second modification is made (so it keeps retrying). On 28 April 2010 00:17, Mark wrote: > Hi, > > I have a User class in my project, and I can't find a transactionally >