ceph-csi/internal/cephfs/core
Rakshith R 82f1323af4 cephfs: safeguard localClusterState struct from race conditions
Multiple go-routines may simultaneously check for a clusterID's
presence in clusterAdditionalInfo and create an entry if it is
absent. This set of operation needs to be serialized.

Therefore, this commit safeguards clusterAdditionalInfo map
from concurrent writes with a mutex to prevent the above problem.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-10-10 21:04:05 +00:00
..
clone_test.go cephfs: report detailed error message on clone failure 2022-06-30 19:33:41 +00:00
clone.go cephfs: snapshots honor --setmetadata option 2022-08-01 07:15:29 +00:00
filesystem.go cephfs: fix error logging in filesystem.go 2022-01-27 14:31:12 +00:00
metadata.go cephfs: use errors.As instead of errors.Is 2022-10-17 09:11:45 +00:00
snapshot_metadata.go cephfs: use errors.As instead of errors.Is 2022-10-17 09:11:45 +00:00
snapshot.go cephfs: snapshots honor --setmetadata option 2022-08-01 07:15:29 +00:00
volume.go cephfs: safeguard localClusterState struct from race conditions 2023-10-10 21:04:05 +00:00