Page MenuHomePhabricator

Store the Harbormaster log chunk format on the log record
ClosedPublic

Authored by epriestley on Feb 23 2018, 2:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 9:36 AM
Unknown Object (File)
Wed, Nov 20, 1:19 AM
Unknown Object (File)
Sat, Nov 16, 1:44 AM
Unknown Object (File)
Mon, Nov 11, 7:42 PM
Unknown Object (File)
Fri, Nov 8, 4:58 AM
Unknown Object (File)
Fri, Nov 1, 8:38 PM
Unknown Object (File)
Oct 23 2024, 12:41 AM
Unknown Object (File)
Oct 16 2024, 10:35 PM
Subscribers
Restricted Owners Package

Details

Summary

Depends on D19137. Ref T13088. This allows rebuild-log to skip work if the chunks are already compressed. It also prepares for a future GC which is looking for "text" or "gzip" chunks to throw away in favor of archival into Files; such a GC can use this column to find collectable logs and then write "file" to it, meaning "chunks are gone, this data is only available in Files".

Test Plan

Ran migration, saw logs populate as "text". Ran rebuild-log, saw logs rebuild as "gzip".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Feb 23 2018, 2:15 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 27 2018, 1:56 AM
This revision was automatically updated to reflect the committed changes.