mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-29 16:19:29 +00:00
16c6ba8bc4
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
|
||
---|---|---|
.. | ||
core | ||
errors | ||
mounter | ||
store | ||
util | ||
controllerserver.go | ||
driver.go | ||
fuserecovery.go | ||
identityserver.go | ||
nodeserver.go | ||
validator.go |