Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
3ef3e533
Commit
3ef3e533
authored
6 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added comment to python class cta-fst-gcd.Gc
parent
c5a6073c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/eosfstgcd/cta-fst-gcd
+15
-0
15 additions, 0 deletions
python/eosfstgcd/cta-fst-gcd
with
15 additions
and
0 deletions
python/eosfstgcd/cta-fst-gcd
+
15
−
0
View file @
3ef3e533
...
...
@@ -33,6 +33,21 @@ class UserError(Exception):
pass
class
Gc
:
'''
Implements the cta-fst-gcd daemon that runs on an EOS FST and garbage
collects EOS disk copies that have been safely stored to tape.
The cta-fst-gcd daemon scans across every single EOS disk file on an FST.
A file is garbage collected if:
* The amount of free space on the corresponding file system is
considered too low.
* The file is considered old enough to be garbage collected.
The cta-fst-gcd daemon garbage collects an EOS disk file by extracting the
hexadecimal EOS file identifier from the local disk filename and then
running eos stagerm fxid:<fid-hex>.
'''
def
get_env_mgmhost
(
self
):
logger
=
logging
.
getLogger
(
'
gc
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment