ShortReadvError in pack file: bzr check should check pack file hashes and recover from problems

Bug #402857 reported by Martin Pool
40
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

Pack files are named according to the hash of their on-disk contents, ie "md5sum -b packs/*" checks them. This is very fast and will detect errors caused by disk corruption such as seems to have happened in bug 360476. This will be caught by the current check code but

1- it may take a while for enough of the check to run to read the relevant block of the file
2- the error may be unobvious, like "ShortReadv"

Martin Pool (mbp)
summary: - bzr check should check pack file hashes
+ ShortReadvError: bzr check should check pack file hashes and recover
+ from problems
summary: - ShortReadvError: bzr check should check pack file hashes and recover
- from problems
+ ShortReadvError in pack file: bzr check should check pack file hashes
+ and recover from problems
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.