weka / csi-wekafs

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

fix(CSI-241): disregard sync_on_close in mountmap per FS #310

Closed sergeyberezansky closed 3 days ago

sergeyberezansky commented 1 week ago

TL;DR

Introduced a new AsMapKey() method for MountOptions to create version-agnostic map keys.

What changed?

How to test?

Covered by unit testing

Why make this change?

This change allows for more consistent handling of mount options across different versions of the Weka cluster / client. By excluding version-specific options like MountOptionSyncOnClose from the map key, we can avoid unnecessary duplication of mounts and ensure that mounts with the same essential options are treated as identical, regardless of version-specific differences.


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/02/24)

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

sergeyberezansky commented 3 days ago

Merge activity