-
Notifications
You must be signed in to change notification settings - Fork 141
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
add --timeout for gRPC calls #124
Conversation
/retest |
1 similar comment
/retest |
The one second timeout is based on the assumption that once the connection is established, all further communication is going to be fast. That assumption doesn't hold in some special circumstances: - interactively debugging the sidecar - proxying the driver operation to some remote implementation While this is a bit obscure, the flag is essential for these cases. Adding the flag also makes the node-driver-registrar consistent with other sidecars.
/lgtm |
/assign @jsafrane For approval. |
/assign @msau42 Looks like Jan is busy today, let's see whether Michelle has time for the final approval... |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Jiawei0227, jsafrane, pohly The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1d60e779 Merge pull request kubernetes-csi#131 from pohly/kubernetes-1.20-tag 9f104590 prow.sh: support building Kubernetes for a specific version fe1f2848 Merge pull request kubernetes-csi#121 from kvaps/namespace-check 8fdf0f78 Merge pull request kubernetes-csi#128 from fengzixu/master 1c94220d fix: fix a bug of csi-sanity a4c41e6a Merge pull request kubernetes-csi#127 from pohly/fix-boilerplate ece0f500 check namespace for snapshot-controller dbd89672 verify-boilerplate.sh: fix path to script 9289fd16 Merge pull request kubernetes-csi#125 from sachinkumarsingh092/optional-spelling-boilerplate-checks ad29307f Make the spelling and boilerplate checks optional 5f06d024 Merge pull request kubernetes-csi#124 from sachinkumarsingh092/fix-spellcheck-boilerplate-tests 48186eba Fix spelling and boilerplate errors 71690aff Merge pull request kubernetes-csi#122 from sachinkumarsingh092/include-spellcheck-boilerplate-tests 981be3fe Adding spelling and boilerplate checks. 2bb75253 Merge pull request kubernetes-csi#117 from fengzixu/master 3b6d17b1 Merge pull request kubernetes-csi#118 from pohly/cloud-build-timeout 9318c6cc cloud build: double the timeout, now 1 hour 4ab8b154 use the tag to replace commit of csi-test 5d74e455 change the csi-test import path to v4 7dcd0a99 upgrade csi-test to v4.0.2 86ff5802 Merge pull request kubernetes-csi#116 from andyzhangx/export-image-name c3a96625 allow export image name and registry name git-subtree-dir: release-tools git-subtree-split: 1d60e7792624a9938c0bd1b045211fbb89e513d6
What type of PR is this?
/kind feature
What this PR does / why we need it:
The one second timeout is based on the assumption that once the
connection is established, all further communication is going to be
fast.
That assumption doesn't hold in some special circumstances:
While this is a bit obscure, the flag is essential for these
cases. Adding the flag also makes the node-driver-registrar consistent
with other sidecars.
Special notes for your reviewer:
I have a prototype working with the mock driver embedded inside the e2e.test binary (the "proxying operation" case). I'll share more details after completing that work. In the meantime it would be good to get this PR included in the next release for Kubernetes 1.20.
Does this PR introduce a user-facing change?: