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

Update retry and timeout logic around Publish / Unpublish requests #23

Merged
merged 8 commits into from
Jun 5, 2024

Conversation

DMajrekar
Copy link
Contributor

When working with 150+ volumes publishing / unpublishing at the same time, the current timeout logic causes grpc timeout errors to be seen by the csi-attacher process

This PR updates the timeout down to 5 seconds (from effectively 100s in waitForVolumeStatus) and hands off retry logic to the csi-attacher process.

In addition, the fixes a few logic bugs around unpublish when NodeID is passed as an arg in NodeUnpublishVolumeRequest and set to a different node to the currently attached node. This should safely clear out dangling VolumeAttachments.

@DMajrekar DMajrekar merged commit 3d6898a into master Jun 5, 2024
4 checks passed
@DMajrekar DMajrekar deleted the dm-fix branch June 5, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants