-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: add variable to control duration of initial sticky bit upon res…
…tore. Motivation: dCache sets initial sticky bit with hardcoded duration of 5 minutes upon cached file arrival into pool repository. Sometimes it is required to have this duration configurable (e.g. to use migration to copy/move file replica upon arrival into a stage pool pool). Modification: Modified NearlineStorageHandler to use Repository.setSticky call to set sticky bit expiration to a desired value. Default remains 5 minutes. Pool properties file received two new variables: pool.sticky-on-stage-duration = 5 (one-of?MILLISECONDS|SECONDS|MINUTES|HOURS|DAYS)pool.sticky-on-stage-duration.unit = MINUTES Result: Ability to control initial sticky bit duration on restores. RELEASE_NOTES: Add an option to set duration of initial sticky bit on file restore from HSM. Default is 5 minutes. These variables control the duration: pool.sticky-on-stage-duration = 5 (one-of?MILLISECONDS|SECONDS|MINUTES|HOURS|DAYS)pool.sticky-on-stage-duration.unit = MINUTES Require-notes: yes Patch: https://rb.dcache.org/r/13920/ Acked-by: Albert Rossi Target: trunk
- Loading branch information
1 parent
7f16ca2
commit 5cb806a
Showing
3 changed files
with
40 additions
and
0 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