-
-
Notifications
You must be signed in to change notification settings - Fork 628
Switch to new log checksum format #8415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This adds a new log checksum format without the variable-width integer encoding currently used in Boulder. It's still CRC32, just encoded directly into base64 instead of with an extra layer of varint-encoding. Note that despite using the varint encoding, Boulder always writes the full buffer out, so it's zero-padded to 7 bytes. This doesn't switch to using the new format yet, but just accepts it in the log validator. This is change 1/3 in a sequence: * Allow new format * Switch to new format * Remove support for old format. Each of these 3 changes should land one release apart.
Update test case to use the same string
This must be in a release after #8413 It is the 2nd of three changes switching the checksum algorithm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved in principle, waiting for dependency to deploy.
Merged main to resolve merge conflicts. This branch is a bit gnarly now though; how would the reviewers feel if I rebased and force-pushed to get a clean single-commit PR here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eh, the diff is really clean, and everything gets squashed when we merge the PR, so I think it's fine as-is. LGTM for landing any time since the prereq change made it into yesterday's tag.
(I do frequently rebase and force-push changes in situations like this, but only when I've kept them in draft mode up to that point.)
Waiting to merge until after next week's tag has been cut and fully deployed (likely Oct 9), since this week's tag had to be rolled back. |
Switch to outputting the new checksum format.
Part of #8414
Warning
Do not merge until #8413 has been successfully deployed, likely Oct 9