Print

Print


@adriansev : I just pushed 290367f4cbafd8276dc8e250f2aa3f236c668d90, this implements the copy-job retry, it should be also available in Python. It will retry all types of socket errors as well as operation expired and threshold exceeded errors.

Now, if you use say `xrdcp --retry 1 ...` and the destination file will be created before the copy job fails the retry will also fail due to `file-exists` error, so it does make sense to do either
- `xrdcp --force --retry 1 ...`  (truncate the file), or
- `xrdcp --continue --retry 1 ...` (continue from the point where the previous transfer was interrupted)

Let me know if this looks good!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1139#issuecomment-856086993

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1