You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remove the drop_corrupt_tail mechanism, refs #10369
Every check --repair rebuild of the chunk index has an object validator
(#10369), so drop_corrupt_tail was only reachable from tests.
- PackReader.iter_headers: remove the drop_corrupt_tail parameter. Without
a validator, a corrupt object header raises IntegrityError.
- build_chunkindex_from_repo: remove the drop_corrupt_tail parameter.
- Repository: remove chunkindex_drop_corrupt_tail and chunkindex_validate.
Since #10368 the checker hands its index to the repository, so the lazy
.chunks rebuild never runs during a check and nothing set either of them.
- ArchiveChecker.check: stop passing drop_corrupt_tail.
- tests: remove the 5 tests for drop_corrupt_tail, rewrite
test_check_without_repair_does_not_drop_a_pack_tail as
test_check_without_key_aborts_on_a_corrupt_pack_header.
0 commit comments