Open bbockelm opened 7 years ago
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.
I think this at least merits a warning in stdout!
If CVMFS is accessible - but transfer from CVMFS fails - we should at least take advantage of the hash:
After transferring with
xrdcp
, we should validate the checksum if it is available from CVMFS.