Page MenuHomePhabricator

Add a very forgiving GC for Differential viewstate information
ClosedPublic

Authored by epriestley on Apr 23 2020, 9:01 PM.
Tags
None
Referenced Files
F15486493: D21164.diff
Thu, Apr 10, 7:38 AM
F15479279: D21164.diff
Tue, Apr 8, 5:47 AM
F15464792: D21164.id50389.diff
Wed, Apr 2, 12:47 PM
F15462555: D21164.id50388.diff
Tue, Apr 1, 3:58 PM
F15458317: D21164.diff
Sun, Mar 30, 11:02 PM
F15435557: D21164.id.diff
Tue, Mar 25, 8:54 AM
F15435453: D21164.id50389.diff
Tue, Mar 25, 8:23 AM
F15430423: D21164.diff
Mon, Mar 24, 7:36 AM
Subscribers
None

Details

Summary

Ref T13455. Viewstates are fairly small and will probably grow less quickly than the changeset table, but the data is also not important to retain in the long term: if you revisit a change several months after hiding some files, it's fine if we've forgotten that you adjusted the view parameters.

Add a GC with a long default collection policy (180 days) so installs can manage the size of this table if it becomes necessary.

Test Plan

Ran via bin/garbage to adjust the GC policy and collect viewstates.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable