Skip to content

Avoid PVC list loop for VGS class resolution#2375

Open
ELENAGER wants to merge 1 commit intoRamenDR:mainfrom
ELENAGER:DFBUGS-4972
Open

Avoid PVC list loop for VGS class resolution#2375
ELENAGER wants to merge 1 commit intoRamenDR:mainfrom
ELENAGER:DFBUGS-4972

Conversation

@ELENAGER
Copy link
Member

@ELENAGER ELENAGER commented Jan 7, 2026

Improvement: pass an additional parameter (the storage class name) to GetVolumeGroupSnapshotClassFromPVCsStorageClass to make it more efficient. With this parameter, we can avoid listing PVCs by label and iterating through them to determine the storage class provider name.

@ELENAGER ELENAGER force-pushed the DFBUGS-4972 branch 3 times, most recently from 69d5c96 to 594a416 Compare January 14, 2026 08:01
@ELENAGER ELENAGER force-pushed the DFBUGS-4972 branch 3 times, most recently from d07d85c to 6269181 Compare January 21, 2026 14:47
@ELENAGER ELENAGER changed the title CephFS relocation: stop listing PVCs by consistency group label Avoid PVC list loop for VGS class resolution Jan 21, 2026
@ELENAGER ELENAGER force-pushed the DFBUGS-4972 branch 2 times, most recently from 7db6a7b to 2cb9882 Compare January 27, 2026 13:48
Improvement: pass an additional parameter (the storage class name) to GetVolumeGroupSnapshotClassFromPVCsStorageClass to make it more efficient. With this parameter, we can avoid listing PVCs by label and iterating through them to determine the storage class provider name.

Signed-off-by: Elena Gershkovich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant