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

Batch entries in cleanup script #2158

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Jun 20, 2024

The number of index keys is nearly a trillion and is too many for the
script to process at once. Chunk the MySQL results up and remove them
from Redis in small batches instead.

Summary

Release Note

Documentation

The number of index keys is nearly a trillion and is too many for the
script to process at once. Chunk the MySQL results up and remove them
from Redis in small batches instead.

Signed-off-by: Colleen Murphy <[email protected]>
@cmurphy cmurphy requested a review from a team as a code owner June 20, 2024 22:46
@haydentherapper haydentherapper merged commit ef431ff into sigstore:main Jun 20, 2024
15 checks passed
@github-actions github-actions bot added this to the v1.2.2 milestone Jun 20, 2024
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