forked from borgbackup/borg
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: only warn about "invalid" chunker params, fixes borgbackup#7588
we previously allowed some weird chunker params, so we just warn about them instead of rejecting them. e.g. one could use super small chunk sizes. borg can do that, but you'll end up with a huge amount of chunks and very large hash tables (RAM usage) to manage them. also, one can violate the min <= mask <= max chunker param condition as in borgbackup#7586 and it will somehow work, but will likely not dedup as good as when not violating that. borg2 **will** reject such strange chunker params, see borgbackup#7586 for some ideas how to "fix" your repos.
- Loading branch information
1 parent
d44b66d
commit af042b9
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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