2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-06 11:00:48 +00:00

Adjust changelog

This commit is contained in:
Alexander Weiss 2020-11-10 16:22:25 +01:00
parent 17bb77b1f9
commit 7eabcabf68

View File

@ -1,9 +1,17 @@
Enhancement: Check now checks index when reading packs
Enhancement: Check now has more checks for consistency of index and pack files
Restic used to only verfiy the pack file content when calling `check --read-data`
Restic used to only verify the pack file content when calling `check --read-data` or
`check --read-data-subset` but did not check if the blobs within the pack are
correctly contained in the index.
This check is now added and may give an "Blob ID is not contained in index" error.
This check is now added and may give an "Blob ID is not contained in index or position
is incorrect" error.
Also a new test is added which compares pack file sizes computed from the index and the
pack header with the actual file size. This test is able to detect truncated pack files.
If the index is not correct, it can be rebuilt by using the `rebuild-index` command.
Having added these tests, `restic check` is now able to detect non-existing blobs which
are wrongly referenced in the index. This situation could have lead to missing data.
https://github.com/restic/restic/pull/3048
https://github.com/restic/restic/pull/3082