Repository navigation
(KBOSS) Add synchronous backup compression flag - #13901
Open
JoaoJandre wants to merge 5 commits into
Open
JoaoJandre wants to merge 5 commits into
JoaoJandre wants to merge 5 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #13901 +/- ##
============================================
- Coverage 20.39% 20.39% -0.01%
+ Complexity 21283 21280 -3
============================================
Files 6481 6481
Lines 588040 588091 +51
Branches 72021 72027 +6
============================================
- Hits 119957 119950 -7
- Misses 455052 455108 +56
- Partials 13031 13033 +2
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:
|
Damans227
reviewed
Oct 16, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.