Hi vivpuri, On Thu, Sep 3, 2009 at 6:38 PM, vivpuri <[email protected]> wrote:
> > I am getting the following error for get_or_insert > > ************************ > Transaction collision for entity group with key > datastore_types.Key.from_path(..........) > ************************ > > and then the code goes into a loop where it keep retrying until the > app hits DeadlineExceededError. > > > So there are couple of major issues: > 1. The whole request took 38113ms to complete before hitting > DeadlineExceededError. Since transaction collision can happen for > multiple app request at the same time, this can quickly consume all > the available app instances. > Can you please paste your stacktrace, and the code that called get_or_insert? Transactions should not retry indefinitely. -Nick Johnson 2. Also, as part of this app request, i was trying to insert 5 > records, and app got hung up on the first record itself. Which means > rest of the records got dropped > > Solution needed: > A way to break this retry loop so that next records can be processed > > > > -- Nick Johnson, Developer Programs Engineer, App Engine --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
