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)
Sat, Mar 30, 10:01 PM
Unknown Object (File)
Sat, Mar 30, 6:01 AM
Unknown Object (File)
Feb 13 2024, 4:42 AM
Unknown Object (File)
Feb 7 2024, 11:17 PM
Unknown Object (File)
Feb 3 2024, 6:14 PM
Unknown Object (File)
Jan 31 2024, 3:02 PM
Unknown Object (File)
Jan 7 2024, 1:14 AM
Unknown Object (File)
Dec 26 2023, 7:47 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.