-
Notifications
You must be signed in to change notification settings - Fork 30
OCPBUGS-61754: UPSTREAM: <carry> Add retries for GetCurrentResourceVersion. #72
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
Conversation
| // are purely passthroughs to the delegate. During a rebase, consider whether or not it is | ||
| // safe and appropriate for a new method added to the method set of storage.Interface to | ||
| // perform retries. | ||
| delegate storage.Interface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, good call. thanks.
| err error | ||
| ) | ||
| return rv, OnError(ctx, DefaultRetry, IsRetriableErrorOnRead, func() error { | ||
| rv, err = c.delegate.GetCurrentResourceVersion(ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this is a read operation.
| err error | ||
| ) | ||
| return rv, OnError(ctx, DefaultRetry, IsRetriableErrorOnRead, func() error { | ||
| rv, err = c.delegate.GetCurrentResourceVersion(ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the err will always be propagated.
|
/lgtm |
182485d
into
openshift:openshift-apiserver-4.20-kubernetes-1.33
|
@benluddy: Jira Issue OCPBUGS-61754: Some pull requests linked via external trackers have merged: The following pull request, linked via external tracker, has not merged:
All associated pull requests must be merged or unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-61754 has not been moved to the MODIFIED state. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
No description provided.