Skip to content

repository: fix LookupBlobSize to also return pending blobs#5614

Merged
MichaelEischer merged 2 commits into
restic:masterfrom
MichaelEischer:fix-lookupblobsize
Nov 26, 2025
Merged

repository: fix LookupBlobSize to also return pending blobs#5614
MichaelEischer merged 2 commits into
restic:masterfrom
MichaelEischer:fix-lookupblobsize

Conversation

@MichaelEischer

Copy link
Copy Markdown
Member

What does this PR change? What problem does it solve?

Extracted from #5472 as this is relevant independent of that PR. This change isn't really user visible. At the moment this could only result in a few warnings less from the backup command when it reuploads missing blobs. All other places that write to a repository don't rely on knowing about pending blobs so far.

Was the change previously discussed in an issue or on the forum?

Extracted from #5472

Checklist

  • I have added tests for all code changes.
  • [ ] I have added documentation for relevant changes (in the manual).
  • [ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
  • I'm done! This pull request is ready for review.

@MichaelEischer MichaelEischer left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Should have been merged before #5472 . But let's merge the tests anyways.

@MichaelEischer MichaelEischer merged commit 5cc8636 into restic:master Nov 26, 2025
12 checks passed
@MichaelEischer MichaelEischer deleted the fix-lookupblobsize branch November 26, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant