Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: include pool name in health-check reports
Motivation: Currently, the periodic pool health-check operations log problems without recording in which pool the problem was found. For example: 12 Nov 2019 03:32:13 () [] Used space is less than the sum of precious and removable space (this may be a temporary problem - if it persists then please report it to support@dcache.org). This is a problem if a domain hosts multiple pools. Modification: Create a new scheduler class, based on Spring's ThreadPoolTaskScheduler, that captures the CDC when defining a task and then later injects that CDC when running tasks. When creating tasks through Spring XML's "task" namespace, the captured CDC is that of the Spring cell during initialisation. Update the pool's Spring configuration to use the CDC-preserving implementation. Result: Pool health-check log messages now include the pool's name. Target: master Request: 6.0 Request: 5.2 Request: 5.1 Request: 5.0 Request: 4.2 Requires-notes: yes Requires-book: no Bug: #5162 Patch: https://rb.dcache.org/r/12044/ Acked-by: Albert Rossi
- Loading branch information