dmwm / PHEDEX

CMS data-placement suite
8 stars 18 forks source link

FileRouter: reduce expiration time for transfers with no source replicas #1072

Closed nikmagini closed 6 years ago

nikmagini commented 7 years ago

Currently, the t_xfer_request expiration time for files which have no source replica left is set to 7-10 hours:

https://github.com/dmwm/PHEDEX/blob/master/perl_lib/PHEDEX/Infrastructure/FileRouter/Agent.pm#L978

And the FileRouter waits for 5 attempts before throwing such transfers out of the queue, so 35-50 hours:

https://github.com/dmwm/PHEDEX/blob/master/perl_lib/PHEDEX/Infrastructure/FileRouter/Agent.pm#L520

But since such transfers have no chance ever to succeed, it would make sense to reduce the expiration time for them to get them out of the queue asap