sapling/eden/cli
Adam Simpkins eba5659ac4 enable automatic garbage collection for RocksDBLocalStore
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
2019-06-20 20:57:04 -07:00
..
doctor update license headers in .py files 2019-06-19 17:02:46 -07:00
test update license headers in .py files 2019-06-19 17:02:46 -07:00
__init__.py eden: add a script to build the eden client executable for oss builds 2019-01-15 14:14:32 -08:00
buck.py update license headers in .py files 2019-06-19 17:02:46 -07:00
cmd_util.py update license headers in .py files 2019-06-19 17:02:46 -07:00
config.py update license headers in .py files 2019-06-19 17:02:46 -07:00
configinterpolator.py update license headers in .py files 2019-06-19 17:02:46 -07:00
configutil.py update license headers in .py files 2019-06-19 17:02:46 -07:00
daemon.py update license headers in .py files 2019-06-19 17:02:46 -07:00
debug.py Fixing eden debug journal's limit option 2019-06-20 11:07:30 -07:00
filesystem.py update license headers in .py files 2019-06-19 17:02:46 -07:00
fsck.py update license headers in .py files 2019-06-19 17:02:46 -07:00
hg_util.py update license headers in .py files 2019-06-19 17:02:46 -07:00
logfile.py update license headers in .py files 2019-06-19 17:02:46 -07:00
main.py Hide the type annotation in _report_error to make status work on Windows 2019-06-20 06:30:39 -07:00
mtab.py update license headers in .py files 2019-06-19 17:02:46 -07:00
overlay.py update license headers in .py files 2019-06-19 17:02:46 -07:00
process_finder.py update license headers in .py files 2019-06-19 17:02:46 -07:00
rage.py update license headers in .py files 2019-06-19 17:02:46 -07:00
stats_print.py update license headers in .py files 2019-06-19 17:02:46 -07:00
stats.py enable automatic garbage collection for RocksDBLocalStore 2019-06-20 20:57:04 -07:00
subcmd.py update license headers in .py files 2019-06-19 17:02:46 -07:00
systemd.py update license headers in .py files 2019-06-19 17:02:46 -07:00
tabulate.py update license headers in .py files 2019-06-19 17:02:46 -07:00
top.py update license headers in .py files 2019-06-19 17:02:46 -07:00
trace_cmd.py update license headers in .py files 2019-06-19 17:02:46 -07:00
trace.py update license headers in .py files 2019-06-19 17:02:46 -07:00
ui.py update license headers in .py files 2019-06-19 17:02:46 -07:00
util.py update license headers in .py files 2019-06-19 17:02:46 -07:00
version.py update license headers in .py files 2019-06-19 17:02:46 -07:00