2022-05-24 20:30:42 +00:00
|
|
|
Bugfix: Correctly rebuild index for legacy repositories
|
|
|
|
|
|
|
|
After running `rebuild-index` on a legacy repository containing mixed pack
|
2022-08-23 23:21:01 +00:00
|
|
|
files (that is, pack files with store both metadata and file data), `check`
|
|
|
|
printed warnings like `pack 12345678 contained in several indexes: ...`.
|
|
|
|
This warning was not critical, but has now nonetheless been fixed by properly
|
|
|
|
handling mixed pack files while rebuilding the index.
|
2022-05-24 20:30:42 +00:00
|
|
|
|
|
|
|
Running `prune` for such legacy repositories will also fix the warning by
|
2022-08-23 23:21:01 +00:00
|
|
|
reorganizing the pack files which caused it.
|
2022-05-24 20:30:42 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/pull/3772
|
2022-08-23 23:21:01 +00:00
|
|
|
https://forum.restic.net/t/5044/13
|