Felix E. Klee wrote:
On Apr 23, 4:13 pm, Andi Albrecht <[email protected]>
wrote:
Are you sure that you're not working on a parent model, that's somehow
cached and therefore out-dated when you start one of those
"non-atomic" transactions?

That's the code that's used to increase the parent version:

  self.data_version = str(int(self.data_version) + 1)
  self.put()

As said before, it's called together with the code which adds a child,
all in one single transaction.

Could I have done anything wrong here? What do you mean by cached?

Do you fetch the self.data_version entity inside the transaction or outside of it?

-Ulrich

--
You received this message because you are subscribed to the Google Groups "Google 
App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to