Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaner-disk: prevent ConcurrentModificationException in cleaning run
Motivation: Cleaner-disk cless use a shared PoolInformationBase, which contains a pools map that is updated regularly based on pools being up/down. In a regularly scheduled cleaner run, the map values are streamed over, and when it is modified at the same time, a `ConcurrentHashMap` exception will be thrown. Modification: Change the PoolInformationBase pools map to a thread-safe implementation. Result: No more `ConcurrentHashMap` exception in cleaner-disk runs due to concurrent pool status changes. Target: master, 9.2, 9.1, 9.0, 8.2 Fixes: #7446 Requires-notes: yes Requires-book: no Patch: https://rb.dcache.org/r/14179/ Acked-by: Tigran Mkrtchyan
- Loading branch information