Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since the thread pool was shut down asynchronously, requests in the queue could be processed after the database connection pool was closed. The was a potentially large number of stack traces in the logs when shutting down space manager while it was busy. This refactors the thread pool handling such that the tasks of the space manager service can be drained before the connection pool is closed. The space manager classifies requests into important requests and unimportant requests. The latter are returned to the sender with an error, while the former are processed as loosing them is undesirable. The patch also fixes the use of an srm property inside the space manager configuration. Target: trunk Require-notes: yes Require-book: yes Request: 2.12 Request: 2.11 Request: 2.10 Acked-by: Paul Millar <paul.millar@desy.de> Patch: https://rb.dcache.org/r/7947/ (cherry picked from commit 5e56f38)
- Loading branch information
Showing
3 changed files
with
83 additions
and
38 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