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

Fix issue where prune blobs can OOM #6571

Open
wants to merge 107 commits into
base: unstable
Choose a base branch
from

Conversation

eserilev
Copy link
Collaborator

@eserilev eserilev commented Nov 7, 2024

Issue Addressed

#6559

Proposed Changes

Add a delete_while db method that iterates through records in the db and removes all records where provided predicate evaluates to false. Use this new method in the blobs try_prune method

TODO
remove BlobInfo as it can be totally deprecated. Now we now longer need to worry about atomic transactions across two separate dbs

Blocked by #4718

eserilev and others added 26 commits August 26, 2024 17:02
@eserilev eserilev added blocked optimization Something to make Lighthouse run more efficiently. database work-in-progress PR is a work-in-progress labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked database optimization Something to make Lighthouse run more efficiently. work-in-progress PR is a work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants