Files
phabricator/bin
epriestley 9c798e5cca Provide bin/garbage for interacting with garbage collection
Summary:
Fixes T9494. This:

  - Removes all the random GC.x.y.z config.
  - Puts it all in one place that's locked and which you use `bin/garbage set-policy ...` to adjust.
  - Makes every TTL-based GC configurable.
  - Simplifies the code in the actual GCs.

Test Plan:
  - Ran `bin/garbage collect` to collect some garbage, until it stopped collecting.
  - Ran `bin/garbage set-policy ...` to shorten policy. Saw change in web UI. Ran `bin/garbage collect` again and saw it collect more garbage.
  - Set policy to indefinite and saw it not collect garabge.
  - Set policy to default and saw it reflected in web UI / `collect`.
  - Ran `bin/phd debug trigger` and saw all GCs fire with reasonable looking queries.
  - Read new docs.

{F857928}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9494

Differential Revision: https://secure.phabricator.com/D14219
2015-10-02 09:17:24 -07:00
..
2013-06-17 10:55:05 -07:00
2013-05-20 10:16:35 -07:00
2013-01-07 14:04:23 -08:00
2012-11-01 15:30:14 -07:00
2012-07-27 13:34:21 -07:00
2014-02-05 11:02:41 -08:00
2013-04-12 14:07:16 -07:00
2015-01-30 11:29:05 -08:00
2012-12-21 14:21:31 -08:00
2014-05-09 12:47:21 -07:00