-
Notifications
You must be signed in to change notification settings - Fork 747
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
Iterate expired components from the da_checker #5895
Conversation
Thoughts on including this in 5.2 if we are about to re-test over the weekend? |
beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs
Outdated
Show resolved
Hide resolved
On 2nd thoughts I don't think this is worth including in 5.2. Let's get 5.2 done and then we can consider a follow-up release |
Do we still need this now that the overflow cache is gone? |
Yes, the in-memory map has a leak that is independent to the disk portion that just got dropped. |
d3c19a8
to
cfbfc2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good :)
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 24169b2 |
Issue Addressed
Closes #5892
Proposed Changes
On the pruning routine, iterate expired entries both when threshold is reached and when it's not