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

Implement buffered blockstore cache #383

Merged
merged 5 commits into from
Apr 27, 2020
Merged

Implement buffered blockstore cache #383

merged 5 commits into from
Apr 27, 2020

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Was just setup to copy everything from cache in previous PR Apply Blocks and refactor #374 but now changed to traverse Ipld links through the cache to only write values that are connected to the root node AND have not been written to the base store

This is important to not cause database bloat and write unnecessary intermediate values. (Only need data connected to the root used in blockheaders)

Reference issue to close (if applicable)

Closes
#377

Other information and links

@austinabell austinabell merged commit 1489429 into master Apr 27, 2020
@austinabell austinabell deleted the austin/bufrootcopy branch April 27, 2020 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants