weka / csi-wekafs

WekaFS Container Storage Interface (CSI) Plugin
Apache License 2.0
33 stars 6 forks source link

refactor(CSI-250): do not maintain redundant active mounts from node server after publishing volume #320

Closed sergeyberezansky closed 3 days ago

sergeyberezansky commented 1 week ago

TL;DR

Added "sync,async" to mutually exclusive mount options and optimized mount handling in the CSI driver.

What changed?

How to test?

  1. Deploy the CSI driver with the updated chart.
  2. Test concurrent mount and unmount operations to ensure stability.
  3. Monitor logs for any unexpected behavior or errors related to mount handling.

Why make this change?

This change aims to improve the handling of mount options and simplify the mount management process. By adding "sync" and "async" to the mutually exclusive options, we prevent potential conflicts in mount configurations, which might be caused by translating WekaFS mount options to NFS mount options. The refactoring of the nfsMounter removes the need for a complex mount map and associated locking, which should lead to better performance and reduced complexity. These changes should result in more reliable and efficient volume mounting and unmounting operations in the CSI driver.


sergeyberezansky commented 1 week ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sergeyberezansky and the rest of your teammates on Graphite Graphite

graphite-app[bot] commented 1 week ago

Graphite Automations

"Request reviewers once CI passes" took an action on this PR • (09/05/24)

1 reviewer was added to this PR based on Sergey Berezansky's automation.

sergeyberezansky commented 3 days ago

Merge activity