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
F18754644: D21164.id50388.diff
Sun, Oct 5, 12:13 AM
F18751744: D21164.id50389.diff
Sat, Oct 4, 12:27 PM
F18736419: D21164.diff
Wed, Oct 1, 5:52 AM
F18519427: D21164.diff
Sep 5 2025, 4:57 PM
F18433418: D21164.id.diff
Aug 31 2025, 7:54 AM
F18411896: D21164.diff
Aug 30 2025, 6:10 AM
F18101041: D21164.id.diff
Aug 9 2025, 12:17 PM
F18010378: D21164.id50389.diff
Aug 2 2025, 3:51 PM
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