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

feat(backups): can limit parallel VDI transfers per VM per job #6787

Merged
merged 4 commits into from
Jun 28, 2023

Conversation

fbeauchamp
Copy link
Collaborator

@fbeauchamp fbeauchamp commented Apr 19, 2023

Check list

On slower infrastructure, VM with huge number ( more than 5 ) of disks may kill the storage.. We limit the transfer to two in parallel per VM, this value can be changed in the config file

Tested : waiting a few hours before starting to transfer does not trigger a timeout

  • PR reference the relevant issue (e.g. Fixes #007 or See xoa-support#42)
  • if UI changes, a screenshot has been added to the PR
  • documentation updated
  • CHANGELOG.unreleased.md:
    • enhancement/bug fix entry added
    • list of packages to release updated (${name} v${new version})
  • I have tested added/updated features (and impacted code)

Process

  1. create a PR as soon as possible
  2. mark it as WiP: (Work in Progress) if not ready to be merged
  3. when you want a review, add a reviewer (and only one)
  4. if necessary, update your PR, and re- add a reviewer

From the Four Agreements:

  1. Be impeccable with your word.
  2. Don't take anything personally.
  3. Don't make assumptions.
  4. Always do your best.

@fbeauchamp fbeauchamp force-pushed the feat_concurrency_disk_backup branch 4 times, most recently from eb5d99f to 6650462 Compare June 23, 2023 12:07
@fbeauchamp fbeauchamp marked this pull request as ready for review June 23, 2023 12:07
@fbeauchamp fbeauchamp requested a review from ggunullu June 23, 2023 12:07
@ggunullu ggunullu requested a review from julien-f June 26, 2023 08:00
@fbeauchamp fbeauchamp force-pushed the feat_concurrency_disk_backup branch from fd2c5db to 732d460 Compare June 27, 2023 11:47
@fbeauchamp fbeauchamp requested a review from julien-f June 28, 2023 08:57
@@ -12,6 +12,7 @@
- [Plugin/auth-iodc] OpenID Connect scopes are now configurable and `profile` is included by default
- [Dashboard/Health] Button to copy UUID of an orphan VDI to the clipboard (PR [#6893](https://github.com/vatesfr/xen-orchestra/pull/6893))
- [Kubernetes recipe] Add the possibility to choose the version for the cluster [#6842](https://github.com/vatesfr/xen-orchestra/issues/6842) (PR [#6880](https://github.com/vatesfr/xen-orchestra/pull/6880))
- [Backups] Add a setting to limit the number of disk transferred in parallel per VM (PR [#6787](https://github.com/vatesfr/xen-orchestra/pull/6787))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an advanced setting not available in the UI.

If we don't explain it more, we risk to get some questions on this.

Maybe we can do like we did for this release: https://github.com/vatesfr/xen-orchestra/blob/master/CHANGELOG.md#5710-2022-05-31

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is why I think the configuration variable should be in the configuration file, it would be mostly auto documenting

nerveless, here is the hange

@julien-f julien-f changed the title feat(@xen-orchestra/backups): limit backup to 2 disks in parallel per VM per job feat(backups): can limit parallel VDI transfers per VM per job Jun 28, 2023
fbeauchamp and others added 4 commits June 28, 2023 16:21
… VM per job

a nw settings is available in the config file : backups.diskPerVmConcurrency , default value 2, which limit the number of disk transfered in parallel during a VM
@fbeauchamp fbeauchamp force-pushed the feat_concurrency_disk_backup branch from f080697 to db78439 Compare June 28, 2023 14:22
@fbeauchamp fbeauchamp requested a review from julien-f June 28, 2023 14:42
@julien-f julien-f merged commit b03935a into master Jun 28, 2023
1 check passed
@julien-f julien-f deleted the feat_concurrency_disk_backup branch June 28, 2023 14:47
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

Successfully merging this pull request may close these issues.

None yet

3 participants