theprnce / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

bug/patch - use db.non_transactional in datastore code #318

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
oauth2client.appengine should do non-transactional datastore operations.

Because the code falls back to default transactional behaviour, and
puts to it's own entity group (it's a root entity), it causes random
horrible cross-entity-group transaction errors.

https://developers.google.com/appengine/docs/python/datastore/transactions#Pytho
n_What_can_be_done_in_a_transaction

Original issue reported on code.google.com by a...@google.com on 13 Dec 2013 at 12:31

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision e7cb05aed499.

Original comment by jcgregorio@google.com on 13 Dec 2013 at 4:09