Open Rakshith-R opened 1 month ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.
Describe the bug
Reclaim space operations need to be protected with volume locks similar to other calls to prevent multiple process executing rbd sparsify / fstrim on same volume.
refer: https://github.com/ceph/ceph-csi/blob/devel/internal/csi-addons/rbd/replication.go#L238
Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) : krbdSteps to reproduce
Steps to reproduce the behavior:
Actual results
Multiple rbd sparsify/ fstrim can be triggered in case the process takes too long and controller times out.
Expected behavior
Only one rbd sparsify/ fstrim process per volume should run at a time.