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
[FEATURE] New setting to limit the concurrent volume restoring from backup #4558
Comments
Pre Ready-For-Testing Checklist
|
Hi @c3y1huang I have a 3 nodes cluster, 8 backups from different volumes and Longhorn set In addition, I had a simple test script to calculate rebuilding numbers from backend API, when restoring, somehow it will give me number greater than 3 which reflected the situation as UI displayed.
|
Did several times of restoring volume with 1 replica and Concurrent Volume Backup Restore Per Node Limit set to 1 At begging the restore number = 3 matched the setting. But there still have chance that the restoring volume number surpassed Concurrent Volume Backup Restore Per Node Limit value, not every time, but not very hard to reproduce ( Can reproduce every time when restoring volume with 3 replicas) In addition, last success build of longhorn-engine was 6 days ago, not sure if this impacted |
Verified in longhorn master
|
Is your feature request related to a problem? Please describe
We like to support to rolling out the volume with data from backup/backing-image. However, Longhorn has no limitation on the concurrent volume restoring from backup.
Longhorn should have another setting similar to
concurrent-replica-rebuild-per-node-limit
.Describe the solution you'd like
Introduce a new setting to limit the concurrent volume creating from the backup.
Describe alternatives you've considered
Handle in rollout-load controller.
Additional context
#4388 (comment)
The text was updated successfully, but these errors were encountered: