summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_fsck_in_direct_mode_does_not_checksum_files.mdwn
blob: 9563f068363429262bb8840b1593617294760a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
What steps will reproduce the problem?

Put some large files into a direct mode repository (so fsck time is noticeable).  git annex add them, commit, run git annex fsck.

What is the expected output? What do you see instead?

Expected: files are checksummed, which should take considerable amount of time for each file.  For reference, in indirect mode, fsck takes a while for files of ~1GB size.
Actually: in direct mode, git annex fsck goes through all of the files in an instant and prints OK for each. I believe the file content is not verified.
Multiple runs of git annex fsck do the same thing.

What version of git-annex are you using? On what operating system?

git-annex version: 4.20130405, Linux

Please provide any additional information below.

> I've fixed it, fsck is indeed checksumming direct mode files now, as long
> as they're not known to be modified. [[done]] --[[Joey]]