Skip to content
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

SA: Fix two bugs in UpdateCRLShard #7052

Merged
merged 2 commits into from
Aug 31, 2023
Merged

SA: Fix two bugs in UpdateCRLShard #7052

merged 2 commits into from
Aug 31, 2023

Conversation

aarongable
Copy link
Contributor

The NextUpdate field should not be required, as it is not necessary for tracking and preventing duplicate work between multiple crl-updater instances.

The ThisUpdate conditional needs explicit handling for NULL to ensure that it updates correctly.

@aarongable aarongable requested a review from a team as a code owner August 24, 2023 23:22
@aarongable aarongable requested review from jsha and beautifulentropy and removed request for jsha August 24, 2023 23:22
@aarongable aarongable force-pushed the improve-update-crl-shard branch from 7dd9d7c to 7d767c8 Compare August 24, 2023 23:31
@beautifulentropy
Copy link
Member

You've got a CI failure here:

--- FAIL: TestUpdateCRLShard (0.12s)
    sa_test.go:3597: checking updated thisUpdate timestamp
FAIL
FAIL	github.com/letsencrypt/boulder/sa	9.402s****

@aarongable
Copy link
Contributor Author

Yeah, I'm aware. Weirdly, it's passing locally even when run from scratch, which is wild for a--- lol, lmao, I was running t.sh instead of tn.sh locally.

@beautifulentropy beautifulentropy requested a review from a team August 28, 2023 19:39
@pgporada pgporada merged commit 7bed24a into main Aug 31, 2023
21 checks passed
@pgporada pgporada deleted the improve-update-crl-shard branch August 31, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants