Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache (pool manager): override suspend when "excluded" (hosts) is no…
…t empty' Motivation: In https://rb.dcache.org/r/11955/ master@261e78639548adadfaea38827c47efe92e1a2f41 we introduced support for the xrootd cgi "tried=<host>,". In https://rb.dcache.org/r/12387/ master@2231b12e451aaa80240eb54861a965c2468d3a99 we made this an optional feature because this exclusion can put access to the file into an indefinitely suspended state for all clients. In this patch, we address the latter problem directly. Modfication: Set a flag on the basis of whether the set of excluded hosts is empty or not. In the case of an attempt to suspend access, if the flag is true, fail instead. Result: When 'tried' is activated (the only time excluded hosts can be non-empty), failure to read the file will not put the request container into the SUSPENDED state. Target: master Request: 6.1 Patch: https://rb.dcache.org/r/12400 Requires-notes: yes Requires-book: no Acked-by: Dmitry
- Loading branch information