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

Add support for writing stable checkpoints to MySQL #2136

Open
haydentherapper opened this issue Jun 3, 2024 · 0 comments
Open

Add support for writing stable checkpoints to MySQL #2136

haydentherapper opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@haydentherapper
Copy link
Contributor

Description

In order to support witnessing for a log with constant checkpoint updates due to the frequency of new entries being included in the log, Rekor publishes a "stable" checkpoint periodically. Witnesses can verify consistency using this checkpoint and inclusion proofs can be built from the log size specified in the checkpoint. These stable checkpoints are persisted in Redis so that they can be accessed across replicated deployments, and Redis provided a straightforward locking mechanism to prevent concurrent writes.

We went with Redis because Redis was originally the only supported storage for persisting the search indices. Now you can write to either Redis or MySQL through the indexstorage interface.

We should create a similar interface for writing checkpoints to MySQL so that deployments can exclusively use MySQL if preferred.

@haydentherapper haydentherapper added the enhancement New feature or request label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants