Page MenuHomePhabricator

Automatically archive old Differential hunks into file storage
AbandonedPublic

Authored by epriestley on Sep 11 2017, 3:51 PM.
Tags
None
Referenced Files
F18995864: D18585.id44629.diff
Nov 19 2025, 11:07 PM
F18957962: D18585.diff
Nov 13 2025, 3:43 AM
F18906224: D18585.diff
Nov 8 2025, 5:32 PM
F18874278: D18585.id44629.diff
Nov 5 2025, 1:55 PM
F18509097: D18585.id.diff
Sep 5 2025, 3:13 AM
F18501596: D18585.diff
Sep 4 2025, 9:51 PM
F18105061: D18585.id44629.diff
Aug 10 2025, 4:09 PM
F18019374: D18585.id.diff
Aug 2 2025, 7:24 PM
Subscribers
None

Details

Summary

Ref T12932. Once a hunk is more than 30 days old, move it to file storage for long-term archiving. This implies a very small performance cost, but makes maintenance and backups easier, especially if files mostly end up in a storage service like S3.

Test Plan

Ran the GC, looked at the database, saw most hunks move to Files. Browsed a lot of older revisions, saw all the data.

Diff Detail

Repository
rP Phabricator
Branch
diff2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18412
Build 24790: Run Core Tests
Build 24789: arc lint + arc unit

Event Timeline

Actually, I'm not sure about pursuing this. Let me follow up on T12932. I think D18584 is fine whether we move this forward or not, since it generally improves some other things.