Skip to content

[blog] flake: google.api_core.exceptions.Aborted: 409 too much contention on these datastore entities. #3548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tmatsuo opened this issue Apr 24, 2020 · 1 comment
Assignees
Labels
api: datastore Issues related to the Datastore API. priority: p2 Moderately-important priority. Fix may not be included in next release. testing type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@tmatsuo
Copy link
Contributor

tmatsuo commented Apr 24, 2020

blog/introduction_to_data_models_in_cloud_datastore
wiki_test.test_main

Build

Log:

Traceback (most recent call last):
  File "/tmpfs/src/github/python-docs-samples/blog/introduction_to_data_models_in_cloud_datastore/wiki_test.py", line 25, in test_main
    main(PROJECT)
  File "/tmpfs/src/github/python-docs-samples/blog/introduction_to_data_models_in_cloud_datastore/wiki.py", line 78, in main
    save_page(ds, 'page1', '2')
  File "/tmpfs/src/github/python-docs-samples/blog/introduction_to_data_models_in_cloud_datastore/wiki.py", line 58, in save_page
    ds.put(current)
...
...
google.api_core.exceptions.Aborted: 409 too much contention on these datastore entities. please try again. entity groups: [(app=s~python-docs-samples-tests, page, "page1")]
@tmatsuo tmatsuo added api: datastore Issues related to the Datastore API. priority: p2 Moderately-important priority. Fix may not be included in next release. testing type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Apr 24, 2020
@tmatsuo
Copy link
Contributor Author

tmatsuo commented May 6, 2020

We haven't seen this failure for a while. Maybe it's mitigated by having intervals between periodic builds. Closing.

@tmatsuo tmatsuo closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. priority: p2 Moderately-important priority. Fix may not be included in next release. testing type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants