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
Option to validate files by file size in Download Client. #5008
Comments
It's do-able, I wonder though why you would ever want to do this? Do you have files without checksums in the catalog? @cserf ? |
@bari12 , At Belle2 , the checksum verification is slower than file size verification. So when file's path already exists , then we provide user to choose between checksum or file size verification. |
Just for a clarification, this it only for verification of the "local" files downloaded in the previous attempts that are to be verified to skip unnecessary downloading. |
Understood, this should be more or less easy, we can schedule this via the core-team. rucio/lib/rucio/client/downloadclient.py Line 510 in 3d10830
--check-filesize-only option on rucio download)
|
I would suggest a |
…5008 The checksum verification is slow compared to the filesize verification. This commits adds the option to verify already downloded files by filesize only.
…5008 The checksum verification is slow compared to the filesize verification. This commits adds the option to verify already downloded files by filesize only.
…date_files_by_file_size_in_Download_Client_ Clients: Validate already downloaded file by filesize only Fix #5008
The checksum verification is slow compared to the filesize verification. This commits adds the option to verify already downloded files by filesize only.
Motivation
At Belle2 when user download files, we provide option to validate downloded files by checksum or size. Checksum validation is default in rucio . Would it possible to have option to validate by filesize ?
New option:
Modification
The text was updated successfully, but these errors were encountered: