Activity log for bug #655503

Date Who What changed Old value New value Message
2010-10-06 06:01:38 Martin Pool bug added bug
2010-10-06 06:29:30 Martin Pool description The most common corruption-type problem we see at the moment is that users have 0-byte index or pack files. This is probably happening because of a machine crash or similar failure causing the filesystem to see the file exists but without any content. It would be nice if we could more cleanly recover from this without people specifically needing to ask for help. Some ideas: - an option to fsync files before treating the repository update as complete, so we're sure the data is really on disk before the packs are referenced - if we see a pack file with 0 bytes, treat it as nonexistent (and perhaps give a warning?) - teach check to hash the files and move away any that aren't consistent; perhaps give check an option to do only this quick/cheap check The most common corruption-type problem we see at the moment is that users have 0-byte index or pack files. This is probably happening because of a machine crash or similar failure causing the filesystem to see the file exists but without any content. It would be nice if we could more cleanly recover from this without people specifically needing to ask for help. Some ideas:  - an option to fsync files before treating the repository update as complete, so we're sure the data is really on disk before the packs are referenced (bug 343427)  - if we see a pack file with 0 bytes, treat it as nonexistent (and perhaps give a warning?)  - teach check to hash the files and move away any that aren't consistent; perhaps give check an option to do only this quick/cheap check
2017-11-08 22:54:17 Jelmer Vernooij tags check packs repository check check-for-breezy packs repository
2019-02-17 05:01:55 Jelmer Vernooij tags check check-for-breezy packs repository check packs repository