Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Add tests, impl, and use gax::IdempotencyPolicy #44

Open
software-dov opened this issue Apr 29, 2019 · 0 comments
Open

Add tests, impl, and use gax::IdempotencyPolicy #44

software-dov opened this issue Apr 29, 2019 · 0 comments

Comments

@software-dov
Copy link
Contributor

Method idempotency is important when determining whether it is safe to retry a failed operation. IdempotencyPolicy will be an abstract base class and will expose one interface method, CanRetry, and a Clone method, similar to RetryPolicy and BackoffPolicy.

The proposed method signature is:

bool CanRetry(gax::Status const& status, gax::MethodInfo const& info) const;

The reference concrete child class will take a conservative approach to retryability.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant