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
My tests create a new file with the same name as an old file.
The hash in CVMFS was incorrect, and actually failed the transfer (Input/Output Error).
When transferring with xrdcp, it copied the correct file. But the Checksum in CVMFS would have been of the old one.
Therefore, if a user tries to copy a file that has the same name as an old file, but with new content, then this test would fail. Matter of fact, if the transfer fails with CVMFS, but the file is in the CVMFS namespace, then we shouldn't trust CVMFS at all, it's likely it caught the same error.
Activity
djw8605 commentedon Dec 6, 2016
I actually ran into a corner case for this.
xrdcp, it copied the correct file. But the Checksum in CVMFS would have been of the old one.Therefore, if a user tries to copy a file that has the same name as an old file, but with new content, then this test would fail. Matter of fact, if the transfer fails with CVMFS, but the file is in the CVMFS namespace, then we shouldn't trust CVMFS at all, it's likely it caught the same error.
bbockelm commentedon Dec 6, 2016
I think this at least merits a warning in stdout!