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

release to main #636

Merged
merged 14 commits into from
Aug 12, 2024
Merged

release to main #636

merged 14 commits into from
Aug 12, 2024

Conversation

rafaelcr
Copy link
Collaborator

No description provided.

hugocaillard and others added 14 commits June 27, 2024 09:57
Co-authored-by: Micaiah Reid <[email protected]>
feat: update pox default settings
This PR changes the way chainhook imports a Stacks node TSV into
rocksdb.

Before, it loaded the entire canonical chinstate (including the full
block JSON messages) onto a `VecDeque` in memory and then drained that
data into rocksdb. This was a very memory intensive process which
crashed our dev pods ever time it ran.

Now, the process was changed to a `VecDeque` that only keeps the line
numbers of the TSV where the block data exists, so it can later read
blocks from the file 1 by 1 and insert them into rocksdb.
@rafaelcr rafaelcr marked this pull request as ready for review August 12, 2024 20:10
@rafaelcr rafaelcr merged commit f276eec into main Aug 12, 2024
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants