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 intermediate node caching #2585

Merged
merged 4 commits into from
Jan 4, 2024
Merged

Conversation

dboehm-avalabs
Copy link
Contributor

@dboehm-avalabs dboehm-avalabs commented Jan 4, 2024

I thought that if the node cache was always larger then the write buffer, than the items in the buffer would always be in the cache. This was an incorrect assumption. Check both the write buffer and the node cache when retrieving nodes from the intermediate node db. The error that enforced the size constraints is no longer needed, so cleaned that up.

This reverts commit 3ef5c5a.
@dboehm-avalabs dboehm-avalabs added this pull request to the merge queue Jan 4, 2024
Merged via the queue into dev with commit 7c82a5b Jan 4, 2024
17 checks passed
@dboehm-avalabs dboehm-avalabs deleted the FixIntermediateNodeCaching branch January 4, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants