-
Notifications
You must be signed in to change notification settings - Fork 265
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(xo-web): merge backups synchronously #8177
base: master
Are you sure you want to change the base?
Conversation
b752b2a
to
5d3c98b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may be missing something, but I don't get why we use backup report templates here (mjml
and compactMjml
), I feel like using a boolean value and renaming mergeBackupSynchronouslyTpl
into mergeBackupSynchronously
would make more sense.
@b-Nollet You are absolutely right. But I haven't found how to make the toggle work without that, and pass a boolean from the front side. |
You can use toggles from other pages as example. I haven't tested this though, and I'm not a front expert, so feel free to ask Pierre or Mathieu if in doubt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can look at the toggle used to enable/disable NBD , specifically state.inputPreferNbd
and effects.setPreferNbd
to see how to handle boolean in the front
this is seen in the api and backend as the preferNbd setting
89b96a4
to
1349679
Compare
@@ -570,6 +570,7 @@ const messages = { | |||
reportRecipients: 'Report recipients', | |||
reportWhen: 'Report when', | |||
concurrency: 'Concurrency', | |||
mergeBackupsSynchronously: 'Merge backups synchronously', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mergeBackupsSynchronously: 'Merge backups synchronously', | |
mergeBackupsSynchronously: 'Merge backups synchronously. This will use more resources on the backup thread, but ensure there is no locking error when chaining multiple backup jobs on the same remote', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
94ad837
to
c358d0f
Compare
Description
[Backup] Add Merge backups synchronously to Advanced Settings
We need to introduce a new backup advanced setting: synchronousMerge
XO-356
https://project.vates.tech/vates-global/projects/70ab2907-1ac3-4e7d-831f-a8752c36474d/issues/63832d60-23c4-44dc-a9e1-462cd94565b7
Checklist
Fixes #007
,See xoa-support#42
,See https://...
)Introduced by
CHANGELOG.unreleased.md
Review process
Notes: