ibm-spectrum-scale-csi icon indicating copy to clipboard operation
ibm-spectrum-scale-csi copied to clipboard

Parallel snapshot

Open hemalathagajendran opened this issue 1 year ago • 6 comments

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

hemalathagajendran avatar Mar 23 '24 19:03 hemalathagajendran

Driver: quay.io/hemalatha_gajendran/cg_serial17:latest Operator: quay.io/hemalatha_gajendran/cg_threads10:latest

hemalathagajendran avatar Mar 28 '24 09:03 hemalathagajendran

Image to test: quay.io/hemalatha_gajendran/csi_parallel_snapshot_latest:latest

hemalathagajendran avatar Jun 13 '24 04:06 hemalathagajendran

Images for testing: quay.io/hemalatha_gajendran/parallelsnapshot_driver_finalfix_latest:latest quay.io/hemalatha_gajendran/parallelsnapshot_operator_finalfix:latest

hemalathagajendran avatar Jul 09 '24 13:07 hemalathagajendran

We will need to changes here

  1. snapshotter timeout = 120s
  2. worker-thread = 10

Done

hemalathagajendran avatar Jul 09 '24 13:07 hemalathagajendran

We will need to changes here

  1. snapshotter timeout = 120s
  2. worker-thread = 10

Done

hemalathagajendran avatar Jul 09 '24 16:07 hemalathagajendran