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
Unknown Object (File)
Feb 21 2024, 5:48 AM
Unknown Object (File)
Feb 20 2024, 1:18 PM
Unknown Object (File)
Feb 19 2024, 4:24 AM
Unknown Object (File)
Feb 11 2024, 9:46 PM
Unknown Object (File)
Jan 3 2024, 6:18 PM
Unknown Object (File)
Dec 30 2023, 5:32 PM
Unknown Object (File)
Dec 27 2023, 10:51 AM
Unknown Object (File)
Dec 26 2023, 6:27 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