Actually I still have a question. What actually happened, if a new entity created in a transaction. What if 2 concurrent transaction create entity with same key path.
On Dec 11, 5:08 pm, ryan <[email protected]> wrote: > On Dec 11, 1:18 pm, yejun <[email protected]> wrote: > > > Basically, I think during concurrent tractions, the first one commit > > will win, the rest all fail. Non transaction operation will always > > success. Write is always transactioned. > > correct. the python API retries transactions when they collide, > though, and the datastore itself retries writes when they collide, so > your app will generally only see collisions (in the form of > TransactionFailedError exceptions) during periods of very high > contention when all retries fail. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
