Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10443 +/- ##
=======================================
Coverage 88.73% 88.73%
=======================================
Files 103 103
Lines 19387 19387
Branches 3023 3023
=======================================
Hits 17204 17204
Misses 1514 1514
Partials 669 669 ☔ View full report in Codecov by Harness. |
mr-raj12
force-pushed
the
compact-unindexed-hint
branch
from
September 27, 2026 22:19
195f38f to
8910d40
Compare
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
Merge before #10445, which is rebased on this branch.
The info message
borg compactlogs for pack bytes no index entry covers pointed to #8572, which is closed. These bytes can be reclaimed today: a fullborg check --repairrebuilds the chunk index from all packs, and the nextborg compactreclaims the unused objects.borg check --repair(without--repository-only), thenborg compact.--repository-onlyrebuilds the index only if it is corrupt, so it does not index these objects. Theborg compact --helptext says the same.--helptext, repository check error message, comments) now point to borg2 check: implement repository repair (index and pack rebuild) #10026, which tracks repository repair and corrupt-pack salvage.test_compact_reclaims_indexed_waste_onlyasserts the new message.Reproduced with a 2.5 GB
borg createkilled withkill -9:borg compact -vborg check --repair --repository-only,borg compactborg check --repair,borg compactborg checkObjects that fail authentication during the index rebuild stay unindexed, so compact keeps reporting their bytes after a repair.
fixes #10429
Checklist
master(or maintenance branch if only applicable there)toxor the relevant test subset)