Repository navigation
(KBOSS) Add synchronous backup compression flag - #13901
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #13901 +/- ##
============================================
+ Coverage 20.39% 20.80% +0.40%
- Complexity 21283 21946 +663
============================================
Files 6481 6496 +15
Lines 588040 591919 +3879
Branches 72021 72629 +608
============================================
+ Hits 119957 123149 +3192
- Misses 455052 455393 +341
- Partials 13031 13377 +346
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
|
thanks @JoaoJandre, fix looks right. CLGTM. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19650 |
|
@DaanHoogland could we run the tests here? |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-17254)
|
…p/CreateBackupOfferingCmd.java
|
@blueorangutan package |
|
@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 20000 |
RosiKyu
left a comment
There was a problem hiding this comment.
LGTM
Tested on a KVM lab (Oracle Linux 9, KBOSS provider, NFS secondary storage), baseline 24.0 build first, then the PR packages.
- Baseline:
compressasync=falseis ignored; the backup is compressed afterwards and the original and the.compcopy sit on secondary storage at the same time. - With the PR,
compress=true compressasync=false: the backup is compressed while it is taken, it is marked Compressed straight away and only one file is written. Same for an incremental backup (compressed delta with the correct parent). compressasync=true, and offerings created before the upgrade, keep the old async behaviour.compressasync=falsewithoutcompress=truedoes nothing, as described.- Restore from a sync-compressed full and from a sync-compressed incremental backup works, the VM starts.
Description
Currently, the backup compression process is always performed asynchronously; the existing backup is compressed into a new file, which then replaces the original. However, when using immutable storage, this behavior increases storage usage because the original backup file cannot be deleted.
To address this, the
compress_asyncflag, defaulting totrue, has been added to backup offerings. The default setting maintains the current behavior. When the flag is set tofalse, compression occurs during backup creation, resulting in only a single file copy. However, enabling synchronous backup compression slows down the backup creation process and makes it prone to timeouts unless the timeout settings are adjusted accordingly.It is important to note that the flag only applies to backup offerings that have the
compressflag set totrue.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Test description
compressasync= false, and another without specifyingcompressasync.