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

Resources for discovered apps should be restored once PVC/PV restore is complete and it's state is Primary #1729

Open
ShyamsundarR opened this issue Dec 20, 2024 · 0 comments

Comments

@ShyamsundarR
Copy link
Member

For declarative applications, the DRPC controls the roll out of the application once VRG reports DataReady and status.State as Primary (and also ClusterDataReady as true). This ensures that the volumes are primary and ready to use before a pod attempts to map/mount the PVC.

In the case of discovered apps, the app resources are restored right after PVC/V restore, without waiting for their state to reach Primary. This can cause unwanted errors in pod startups ("volume is not primary yet"), etc. There are also cases where sequencing this is better than letting it eventually reconcile, avoids races between storage promoting the volume and attempting to stage it.

The ask in this issue is to sequence the restores, and wait for restored PVC/PV to report as Primary before restoring other k8s resources.

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