borg2: check [--repair] improvements
Open
c: index or hashtable
cmd: check
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 875
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 192
Description
Currently (beta12), borg2 check just deletes the chunks index cached in the repo. This is because borg check --repair might have deleted some invalid repo objects, thus the cached chunks index is not uptodate anymore. After that, first access to the repo will rebuild the chunks index cache (slow).
Guess we could just build and cache a new chunks index within borg check --repair and maybe also in borg check without --repair.
Contributor guide
Assessment
This issue has not been assessed yet.