-
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.
dcache-qos: cache modify requests until processed by executor
Motivation: With ingest queues servicing large numbers of requests, as we have for performance reasons configured as defaults on QoS and Bulk, there is a potential for a race between the processing of the original modify request and a subsequent cancellation request, such that cancellation may not find the request as it is still in the executor queue. Modification: On both the engine and the verifier, we cache the request pnfsid upon arrival and remove it when processed on a worker thread. Should it be cancelled and still be awaiting processing, it will simply be eliminated from the cache; otherwise, the full cancellation proceeds as usual. Result: We do not have a trailing stream of requests still being processed after cancellation (from Bulk) completes. Target: master Request: 9.2 Patch: https://rb.dcache.org/r/14166/ Requires-notes: yes Acked-by: Tigran
- Loading branch information
1 parent
3a255bb
commit dee8cbc
Showing
3 changed files
with
87 additions
and
49 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