-
Notifications
You must be signed in to change notification settings - Fork 62
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
Prevent multiple restores from happening in parallel #9
Comments
We don't need to prevent this. The bug causing parallel restores to fail is fixed here #5 |
On master-head - commit id:
Expected: |
Prevention of creation of a Restore CR, when another restore CR is failing cannot be avoided. Because relying on state of other CRs can lead to bugs. So even if more than one restore CRs are created at the same time, the fix will ensure only one is processed at any time. Whichever restore first acquires a lock/lease starts getting processed. In the meanwhile, for the second (parallel) restore, there will be this error in logs:
this only means that this restore will be processed only after the current restore is done processing. |
On Master-head - commit id:
|
What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):
2.5.0-alpha1
Expected Result:
User must be prevented from creating multiple restore CRs
Other details that may be helpful:
Environment information
rancher/rancher
/rancher/server
image tag or shown bottom left in the UI): 2.5.0-alpha1Cluster information
kubectl version
):The text was updated successfully, but these errors were encountered: