Commit 9365990
authored
Add an index on serials to the revokedCertificates table (#8427)
Give the `revokedCertificates` table a non-unique index on the `serial`
column. This exactly matches the existing index on the
`certificateStatus` table.
We did not include this index initially because we were optimizing this
table for the crl-updater's crawl-by-shard-and-expiration behavior, but
this index is necessary to look up if a certificate has already been
revoked when computing ARI windows and when processing revocation
requests.
Part of #83221 parent 4d19fec commit 9365990
File tree
1 file changed
+9
-0
lines changed- sa/db-next/boulder_sa
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments