Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PoolManager : set return code to CacheException.PERMISSION_DENIED if …
…staging is not allowed due to stage protection. Motivation: If stage protection is enabled the return code CacheException.FILE_NOT_ONLINE is used in reply to the doors causing them to retry multiple times. A fail fast is desired in these cases. Modification: Replace CacheException.FILE_NOT_ONLINE w/ CacheException.PERMISSION_DENIED. Result: Clients fail fast w/ permission denied on attemot to access NEARLINE file if stage protection does not allow it. Target: master Request: 3.0 Request: 2.16 Acjed-by: Tigran Mkrtchyan Patch: https://rb.dcache.org/r/9907/
- Loading branch information