-
Notifications
You must be signed in to change notification settings - Fork 2k
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
csi: add grpc retries to client controller RPCs #7549
Conversation
Add grpc retries with backoff to `ControllerPublishVolume`, `ControllerUnpublishVolume`, and `VolumeValidateCapabilities`.
// as fatal. | ||
// In the future, we can provide more useful error messages based on | ||
// different types of error. For error documentation see: | ||
// https://github.com/container-storage-interface/spec/blob/4731db0e0bc53238b93850f43ab05d9355df0fd9/spec.md#nodestagevolume-errors |
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.
ref #7424 for where this extra info went
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.
This looks good! My only concern was the missing data, I added a comment to #7424 about getting ResourceExhausted
back to the CSIVolume
struct.
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #6863
The CSI Specification defines various gRPC Errors and how they may be retried. After auditing all our CSI RPC callas in #6863 (comment), this changeset:
Probe
call, which didn't have one.