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
F19089600: D21164.id.diff
Dec 3 2025, 8:05 AM
F19081277: D21164.diff
Dec 2 2025, 5:42 AM
F19080265: D21164.id50388.diff
Dec 2 2025, 12:39 AM
F19079962: D21164.id50388.diff
Dec 1 2025, 11:40 PM
F18966993: D21164.id50389.diff
Nov 14 2025, 8:15 PM
F18868663: D21164.diff
Nov 4 2025, 7:53 AM
F18868452: D21164.diff
Nov 4 2025, 6:44 AM
F18855623: D21164.diff
Nov 1 2025, 5:56 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