IBM / ibm-spectrum-scale-csi

The IBM Spectrum Scale Container Storage Interface (CSI) project enables container orchestrators, such as Kubernetes and OpenShift, to manage the life-cycle of persistent storage.
Apache License 2.0
68 stars 49 forks source link

change for shallow copy race conditon #1236

Open hemalathagajendran opened 1 month ago

hemalathagajendran commented 1 month ago

Pull request checklist

Race condition happens rarely if DeleteSnapshot and DeleteVolume (i.e. shallow copy volume) is executed in parallel.

Pull request type

Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature Enhancement - [ ] Test Automation - [ ] Code Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Community Operator listing - [ ] Other (please describe): ## What is the current behavior?

-

What is the new behavior?

-

How risky is this change?

hemalathagajendran commented 1 month ago

Image: https://quay.io/repository/hemalatha_gajendran/driver_shallowcopy_race_final