ceph-csi/internal
Rakshith R 16c6ba8bc4 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>
(cherry picked from commit 82f1323af4)
2023-10-11 11:38:45 +05:30
..
cephfs cephfs: safeguard localClusterState struct from race conditions 2023-10-11 11:38:45 +05:30
controller rebase: update sigs.k8s.io/controller-runtime to current version 2023-06-06 12:21:43 +00:00
csi-addons rbd: discard not found error from GetMetadata 2023-09-04 08:01:15 +02:00
csi-common build: address interfacer warning 2023-06-05 04:49:46 +00:00
journal build: address gofmt warnings 2023-06-05 04:49:46 +00:00
kms build: address gofmt warnings 2023-06-05 04:49:46 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs nfs: add support for clients in the StorageClass 2023-07-06 06:24:11 +00:00
rbd rbd: fix resync issue 2023-08-30 11:16:27 +02:00
util build: address gosec warning 2023-06-05 04:49:46 +00:00