borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.24k stars 744 forks source link

compress_entry: fix assertion failure #8516

Closed ThomasWaldmann closed 2 weeks ago

ThomasWaldmann commented 2 weeks ago

if the size is not known yet in the chunks index, we must update the value there.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.74%. Comparing base (8a13cf2) to head (0545b6a). Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/borg/cache.py 33.33% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8516 +/- ## ========================================== - Coverage 81.76% 81.74% -0.03% ========================================== Files 73 73 Lines 13140 13142 +2 Branches 1926 1927 +1 ========================================== - Hits 10744 10743 -1 - Misses 1740 1741 +1 - Partials 656 658 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.