ibm-spectrum-scale-csi
ibm-spectrum-scale-csi copied to clipboard
Parallel snapshot
Please check the type of change your PR introduces:
- [ ] Bugfix
- [x] 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?
- cg volume creation, deletion is not serialised
What is the new behavior?
- cg volume creation, deletion is serialised. If cg snapshot creation is going on and shallow copy creation/deletion is triggered with same target path then it would fail as the target path would be locked by CreateSnapshot and same would happen for vice versa as well
- Here what is mentioned as target path is "fileset/cgsnapshotpath"
How risky is this change?
- [ ] Small, isolated change
- [x] Medium, requires regression testing
- [ ] Large, requires functional and regression testing
Driver: quay.io/hemalatha_gajendran/cg_serial17:latest Operator: quay.io/hemalatha_gajendran/cg_threads10:latest
Regression results: csi-test-report-27-05-2024-02-30-45.html.zip
Image to test: quay.io/hemalatha_gajendran/csi_parallel_snapshot_latest:latest
Images for testing: quay.io/hemalatha_gajendran/parallelsnapshot_driver_finalfix_latest:latest quay.io/hemalatha_gajendran/parallelsnapshot_operator_finalfix:latest
We will need to changes here
- snapshotter timeout = 120s
- worker-thread = 10
Done
We will need to changes here
- snapshotter timeout = 120s
- worker-thread = 10
Done