Add current datetime column to orderFqdnSets and authz2 tables#8512
Merged
aarongable merged 1 commit intomainfrom Dec 5, 2025
Merged
Add current datetime column to orderFqdnSets and authz2 tables#8512aarongable merged 1 commit intomainfrom
aarongable merged 1 commit intomainfrom
Conversation
Contributor
|
@aarongable, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values. |
jprenken
approved these changes
Dec 4, 2025
lenaunderwood22
approved these changes
Dec 4, 2025
jsha
approved these changes
Dec 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new "created" column is always populated by the current time, indicating when the row was created. We do this directly inside the database, rather than in the Go data model, because Boulder doesn't actually care when these rows were created. Instead, we care about the creation timestamp for the purpose of creating and dropping partitions to manage our total data size.
Previously we've been partitioning these tables based on their
expirescolumn. But that column is no longer a good proxy for when the row was created, because not all certificates/orders/authzs have the same lifetime anymore.Example after an integration test run:
IN-12028 tracks the corresponding SRE-side changes