Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable features=HonorPVReclaimPolicy, delete pvc cost more time #1184

Open
winrouter opened this issue Mar 20, 2024 · 0 comments
Open

enable features=HonorPVReclaimPolicy, delete pvc cost more time #1184

winrouter opened this issue Mar 20, 2024 · 0 comments

Comments

@winrouter
Copy link

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:
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

No branches or pull requests

1 participant