Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: retry allocation on OutOfDiskException from Allocator
Motivation: To reduce the number of calls to the Allocator, the AllocatorAwareRespitoryChannel ensures a minimum allocation size. Towards the end of the file's upload, this results in over-allocation of capacity. If the file size is close to the available size then the over-allocation can lead to the upload failing, even though sufficient space is available to accept the file. Modification: If the allocation fails with OutOfDiskException then retry the allocation without the minimum allocation. Result: Files are accepted that would otherwise fail. Target: master Require-notes: no Require-book: no Patch: https://rb.dcache.org/r/11090/ Acked-by: Albert Rossi
- Loading branch information