projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve tracking of segments and segment utilization.
[cumulus.git]
/
python
/
cumulus
/
cmd_util.py
diff --git
a/python/cumulus/cmd_util.py
b/python/cumulus/cmd_util.py
index
da2fb47
..
e0b094d
100644
(file)
--- a/
python/cumulus/cmd_util.py
+++ b/
python/cumulus/cmd_util.py
@@
-59,7
+59,7
@@
def cmd_clean(args, clean_threshold=7.0):
# Delete old snapshots from the local database.
intent = float(options.intent)
for s in db.list_schemes():
# Delete old snapshots from the local database.
intent = float(options.intent)
for s in db.list_schemes():
- db.
garbage_collect
(s, intent)
+ db.
prune_old_snapshots
(s, intent)
# Expire segments which are poorly-utilized.
for s in db.get_segment_cleaning_list():
# Expire segments which are poorly-utilized.
for s in db.get_segment_cleaning_list():