-
Notifications
You must be signed in to change notification settings - Fork 130
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
Ensure resizer handles double processing of PVCs without problems. #4
Comments
/assign |
@mlmhl: GitHub didn't allow me to assign the following users: mlmhl. Note that only kubernetes-csi members and repo collaborators can be assigned. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It seems that the race condition mentioned in kubernetes/kubernetes#71470 (comment) does not exist in external-resizer. The in-tree expand controller uses a custom sync mechanism to resync pvcs, which is the root of the problem. But in external-resizer, we uses But when I review the code, I found that this mechanism raises another race condition, consider the following example:
Although second resize request can be finished in step 7, but the PVC condition is not right during step 6 and step 7(wanted To resolve this problem, I think we need to remove the judgement mentioned above and add a version check mechanism like kubernetes/kubernetes#71611. @gnufied Do you have any other good ideas? |
Yeah I agree, I think we do need a resourceVersion check added in kubernetes/kubernetes#71611 to external resizer as well. |
build.make: fix pushing of "canary" image from master branch
build.make: fix pushing of "canary" image from master branch
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
xref - kubernetes/kubernetes#71611
The text was updated successfully, but these errors were encountered: