-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
srm: Drop generic support for retrying requests
Motivation: The SRM scheduler had support for placing requests in a RETRYWAIT state, allowing them to be retried after some time. This infrastructure was hardly used as it would only react to errors generated during execution of Job#run. Most retriable errors would however be detected in asynchronous callbacks and for those errors we would simply fail the request. Further, the errors that were generated by Job#run would most of the time be classified as transient errors when they were actually persistent errors. So even in the few cases where the retry would be triggered, it shouldn't have been. Possibly the only exception to this rule was the server side srm copy support as it is at least partially blocking. The ls implementation is blocking too, but it deliberately does not propagate errors to prevent retry. At the same time clients tend to retry or have fallback solutions. Retrying at several layers means we have a multiplicative effect that causes the number of retries to explode. Modification: In the interest of simplifying the SRM, this patch removes the scheduler's support for retrying requests. Result: Since it either wasn't used, or was triggered erronously, as well as prevented fail fast behaviour that allows clients to control the recovery strategy, removing the support seemed like a better option than trying to somehow fix it. The relevant configuration options have been marked obsolete (srm.*.retries and srm.*.retry-timeout*). Except for srmCopy, the patch should not have many user visible consequences. Bring online request retrying is not affected by this patch - bring online requests resubmitted the request internally, bypassing the generic retry mechanism. Target: trunk Require-notes: no Require-book: no Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> Acked-by: Dmitry Litvintsev <litvinse@fnal.gov> Patch: https://rb.dcache.org/r/8559/
- Loading branch information
Showing
21 changed files
with
57 additions
and
287 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
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
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
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
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
Oops, something went wrong.