mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
eba5659ac4
Summary: Add a periodic task for performing LocalStore management tasks. For now only the RocksDBLocalStore class implements this management task. When this periodic task runs the RocksDBLocalStore object computes how much space each of the column families are using and publishes this as fb303 counters. If the total size of the ephemeral column families exceeds a configurable limit it then triggers a background garbage collection task. I also added a new `edenfsctl stats local_store` command that reports the new counters added by this diff. Reviewed By: chadaustin, strager Differential Revision: D15798505 fbshipit-source-id: 25ca4ba80f5a9c4a1a09dc08633c7b3af363d7ff |
||
---|---|---|
.. | ||
doctor | ||
test | ||
__init__.py | ||
buck.py | ||
cmd_util.py | ||
config.py | ||
configinterpolator.py | ||
configutil.py | ||
daemon.py | ||
debug.py | ||
filesystem.py | ||
fsck.py | ||
hg_util.py | ||
logfile.py | ||
main.py | ||
mtab.py | ||
overlay.py | ||
process_finder.py | ||
rage.py | ||
stats_print.py | ||
stats.py | ||
subcmd.py | ||
systemd.py | ||
tabulate.py | ||
top.py | ||
trace_cmd.py | ||
trace.py | ||
ui.py | ||
util.py | ||
version.py |