external-provisioner icon indicating copy to clipboard operation
external-provisioner copied to clipboard

enable features=HonorPVReclaimPolicy, delete pvc cost more time

Open winrouter opened this issue 11 months ago • 1 comments

What happened: enable features=HonorPVReclaimPolicy and then concurrency delete 10 pvc cost 10s

and external-provisioner log exists many E0320 12:04:27.749479 1 controller.go:1007] error syncing volume "pvc-4d8607b3-1d3f-4ea9-a635-95e5ec77c599": Operation cannot be fulfilled on persistentvolumes "pvc-4d8607b3-1d3f-4ea9-a635-95e5ec77c599": the object has been modified; please apply your changes to the latest version and try again

when disable eatures=HonorPVReclaimPolicy and then concurrency delete 10 pvc cost 2s

What you expected to happen: normal delete pvc and quickly How to reproduce it: use csi-provisioner:v3.1.0 containers: - args: - --csi-address=$(ADDRESS) - --v=1 - --timeout=150s - --retry-interval-start=500ms - --leader-election=true - --feature-gates=HonorPVReclaimPolicy=true - --default-fstype=ext4 - --extra-create-metadata=true Anything else we need to know?: kubernetes 1.29 Environment:

  • Driver version:
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

winrouter avatar Mar 20 '24 13:03 winrouter