Skip to content
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

feat: retry global cache operations on transient errors #603

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

chrisrossi
Copy link
Contributor

When an operation on the global cache is tried and there is a transient
error, such as not being able to connect to a Redis or Memcached server,
if the operation is being tried in strict mode, then the operation is
now retried a number of times before the transient error is eventually
raised to the application layer.

Implements #601

When an operation on the global cache is tried and there is a transient
error, such as not being able to connect to a Redis or Memcached server,
if the operation is being tried in strict mode, then the operation is
now retried a number of times before the transient error is eventually
raised to the application layer.

Implements googleapis#601
@product-auto-label product-auto-label bot added the api: datastore Issues related to the googleapis/python-ndb API. label Feb 12, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 12, 2021
@chrisrossi
Copy link
Contributor Author

I didn't make any of this configurable. I figured the users didn't really need the cognitive load.

@chrisrossi
Copy link
Contributor Author

@andrewsg @crwilcox @craiglabenz PTAL?

@crwilcox crwilcox requested a review from a team February 25, 2021 20:19
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 googleapis/python-ndb API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants