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

feat: remove global attach/detach mutex #69

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

Tomy2e
Copy link
Member

@Tomy2e Tomy2e commented Aug 21, 2024

This should increase attach/detach performance.

The previous implementation was slow when multiple volumes are attached/detached simultaneously: we locked both the attach/detach API calls and the wait for the volume to be in a terminal state.

Only the attach/detach API calls should be locked (ideally per server). Fortunately, the SDK already implements a lock on Attach and Detach operations so it should not be needed to implement it again at CSI driver level.

@Tomy2e Tomy2e merged commit da008b4 into scaleway:master Sep 11, 2024
5 checks passed
@Tomy2e Tomy2e deleted the remove-mutex branch September 11, 2024 08:41
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