fermitools / declad

BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

do an extra xroot stat call to confirm transfer size #20

Closed marcmengel closed 3 months ago

marcmengel commented 3 months ago

This is a fix for issue #19.

We were already doing an xrootd stat beforehand to see if the file was already there, we're now doing it again afterwards to double-check our transfer is complete by verifying the size. So if the copy "succeeds" but the file sizes don't match, we flag it as a failed transfer.