-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrupted file not detected by cvmfs_server check -a #3553
Comments
Without |
By default, without the I don't have exact timings on the |
On the other side, if |
And it's the lack of |
Jakob and I discussed this and he said that there is still value to doing the HEAD requests (without -c) but at the same time it should check the Content-Length header to verify the size. The scrub will not detect missing files, so although it's good to do have -i, -c should not be used if you want to find all classes of errors. |
I found another case of doubled data on the Nebraska primary stratum 1, in the sft.cern.ch repository. The file was from 2021, so the corruption happened prior to the fix in #2991. The weirdest thing is that
cvmfs_server check -a
did not detect it. The last time the check was completed on sft.cern.ch was March 10, 2024. Oh, I see that there's acheck
option-i
that says "check data integrity" and I have not been using that. Does it not even check the file sizes without-i
? What does it check by default? It takes a terribly long time to check even without-i
; I wonder how long it will take with it.The corruption was also slightly different than before, but probably not enough different to be useful. This time there were two doubled 4096-byte blocks, copying bytes 4*4096 (16384) through 6*4096 (24576) into bytes 6*4096 through 8*4096 (32768).
Just in case it's helpful for testing a change to
check
, here is a zip file containing the good and corrupted forms of the file. The files were in the/srv/cvmfs/sft.cern.ch/data/1d
subdirectory on the backup and primary stratum 1s, respectively.The text was updated successfully, but these errors were encountered: