Print

Print


Hi Adrian,

My impression (correct me if I'm wrong) is that you are trying to do a multi-source transfer,
right?

If so, you need to specify in the CopyProcess the sourceLimit, and as a source you need
to specify a metalink containing all the replicas, or a manager (in this case the client will
figure out what the replicas are by itself by using locate).

I just pushed a patch for the client that is enabling multi-source download in python bindings
(63e9604) and will port it for 4.9.1.

Cheers,
Michal
________________________________________
From: [log in to unmask] [[log in to unmask]] on behalf of Adrian Sevcenco [[log in to unmask]]
Sent: 28 March 2019 14:22
To: [log in to unmask]
Subject: xrootd python :: CopyProcess - stop the queue if a job succeed

Hi! In my use case (ALICE), to download a file, i get all replicas
and i add them as copy jobs to a CopyProcess ..
I would like to stop the CopyProcess when a job is succesful ..
Is there a way to do this?
Maybe in MyCopyProgressHandler.end() to check if results['status'] have
a "status: 0" and cancel all CopyProcess?
Is there a way to stop a CopyProcess? or other way to take into account the posibility
of multiple replicas?

Thank you!
Adrian


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

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

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

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