Skip to content

feat: add era import persistence commit #16059

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

lean-apple
Copy link
Contributor

@lean-apple lean-apple commented May 4, 2025

Continuing #15982 that was wrongly open from main branch.

Prep for #15909.

It adds file storage/db persistence per file, and then a global db commit at the end of the import.

cc @RomanHodulak, @mattsse.

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker May 4, 2025
@lean-apple lean-apple marked this pull request as ready for review May 4, 2025 16:57
lean-apple and others added 3 commits May 5, 2025 20:22
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should work, but I think this has side-effects if used from within a pipeline stage where we need to adhere to some rules when it comes to when we are allowed to open certain writers and commit,
but I can't fully remember what those are so we need to figure this out first.

@RomanHodulak we're definitely missing commit calls in the standalone import fn, so I think the challenge is now unifying this with the stage impl

@jenpaff jenpaff moved this from Backlog to In Progress in Reth Tracker May 6, 2025
@github-actions github-actions bot added the S-stale This issue/PR is stale and will close with no further activity label May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-stale This issue/PR is stale and will close with no further activity
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants