Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-xroot: (door) ignore tried if property false instead of return…
…ing error Motivation: https://rb.dcache.org/r/11955/ master@261e78639548adadfaea38827c47efe92e1a2f41 https://rb.dcache.org/r/12387/ 2231b12 introduced support for the 'tried' CGI, and a property to handle it as an option. Currently in the case where there are tried indicators but the option is off, we fail the transaction so the client knows immediately it will not work. However, this may create unnecessary failures in some scenarios where it may not be essential for dCache to support this option. On the other hand, allowing the client to believe it is supported may end up in the client repeatedly retrying and then timing out. Of the two possibilities, we now believe the second less problematic than the first. See also: #5811 Modification: Do not return an error if there is a tried CGI and xrootd.enable.tried-hosts is not true, but simply ignore the attribute when communicating with the Pool Manager. Also ignore it if triedrc is not defined, or if tiredrc is not enoent or ioerr. Also changed the default value of the property back to true. Result: Hopefully dCache will be less cranky in more common situations. Target: master Request: 7.0 Request: 6.2 Request: 6.1 Patch: https://rb.dcache.org/r/12938/ Acked-by: Paul Acked-by: Dmitry
- Loading branch information
1 parent
0a4749a
commit f17e25d
Showing
3 changed files
with
97 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters