[8.0] Add PreferredURLPatterns for URL sorting#8065
[8.0] Add PreferredURLPatterns for URL sorting#8065fstagni merged 1 commit intoDIRACGrid:rel-v8r0from
Conversation
|
That's interesting. We are categorizing our servers to some groups (e.g. having UPS or not), then sometimes modify URLs to change active servers. For such operation I prefer to change single value than list, since error proofing. Let me gather comments to the PR from our colleagues. |
|
At the moment this is on a per system basis, though maybe it would make sense to move globally for all URLs? Thoughts?
If it would be useful I could support a list of regexes, i.e. PreferredURLPatterns = .*\.preferred\.invalid/.*
PreferredURLPatterns += .*\.secondary\.invalid/.*
PreferredURLPatterns += .*\.tertiary\.invalid/.*@hmiyake What would you prefer? |
|
I wanted to ask the global option! For my user case, it completely matches. A list of regexes are also helpful to give priority... I like both! |
|
Sweep summary Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/15140420840 Failed:
|
See the included docs for motivation.
BEGINRELEASENOTES
*Configuration
NEW: Add PreferredURLPattern for URL sorting
ENDRELEASENOTES