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)
Fri, Feb 14, 4:47 PM
Unknown Object (File)
Sun, Feb 9, 9:05 AM
Unknown Object (File)
Sun, Feb 9, 9:05 AM
Unknown Object (File)
Sun, Feb 9, 9:05 AM
Unknown Object (File)
Mon, Feb 3, 6:50 PM
Unknown Object (File)
Sun, Feb 2, 6:00 PM
Unknown Object (File)
Sat, Jan 25, 7:19 AM
Unknown Object (File)
Sat, Jan 25, 7:19 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
Branch
tree5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24206
Build 33341: Run Core Tests
Build 33340: arc lint + arc unit