Skip to content

feat: remove global attach/detach mutex#69

Merged
Tomy2e merged 1 commit intoscaleway:masterfrom
Tomy2e:remove-mutex
Sep 11, 2024
Merged

feat: remove global attach/detach mutex#69
Tomy2e merged 1 commit intoscaleway:masterfrom
Tomy2e:remove-mutex

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
@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