borgbackup / borgbackup/borg

borg2: avoid having the chunks index loaded multiple times

Open
#10,364 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13.7k
Forks
875
Avg merge
11h 15m
Merged PRs (30d)
192

Description

The chunks index can get quite big, thus we must avoid that it is multiple times in memory accidentally.

#10359 fixes this for `borg compact`.

`borg check` has the index loaded twice.

Contributor guide

Open the contributing guide

Research direction

Start at the borg check entry point and compare its chunks-index loading path with the fix described in #10359 for borg compact. Verify where the index is loaded twice, then run borg check to confirm the index is loaded once and the command still completes normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.