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. 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
