-
Notifications
You must be signed in to change notification settings - Fork 168
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
Cache checkpoint for inactive shards #2332
Cache checkpoint for inactive shards #2332
Conversation
Pending #2330 See the last commit for relevant changes. |
f6fc61e
to
a020b3b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2332 +/- ##
===========================================
- Coverage 66.46% 49.88% -16.58%
===========================================
Files 92 192 +100
Lines 9258 24751 +15493
===========================================
+ Hits 6153 12348 +6195
- Misses 2359 11302 +8943
- Partials 746 1101 +355
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
a020b3b
to
4ea14fb
Compare
On service startup, Rekor will sign checkpoints for the inactive shards, since inactive tree lengths do not change. The calls to CreateAndSignCheckpoint that were not updated are because the checkpoint is being signed only for the active shard, e.g. on entry upload and when returning the active shard checkpoint. Signed-off-by: Hayden Blauzvern <[email protected]>
Signed-off-by: Hayden Blauzvern <[email protected]>
4ea14fb
to
0ff5059
Compare
Signed-off-by: Hayden Blauzvern <[email protected]>
Summary
On service startup, Rekor will sign checkpoints for the
inactive shards, since inactive tree lengths do not
change.
The calls to CreateAndSignCheckpoint that were not
updated are because the checkpoint is being signed
only for the active shard, e.g. on entry upload
and when returning the active shard checkpoint.
Any deployment using KMS will see a reduction in KMS
calls.
Signed-off-by: Hayden Blauzvern [email protected]
Release Note
Documentation