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: share DatabaseProviderRW on PersistenceAction::SaveBlocks #9929

Merged
merged 6 commits into from
Jul 31, 2024

Conversation

joshieDo
Copy link
Collaborator

closes #9923

We should only commit, once we have written everything.

@github-actions github-actions bot added the C-debt Refactor of code section that is hard to understand or maintain label Jul 31, 2024
let (block_num, td) =
self.write_transactions(block).expect("todo: handle errors");
self.update_transaction_meta(block_num, td).expect("todo: handle errors");
unimplemented!()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure about this, and it's currently not being used

@joshieDo joshieDo marked this pull request as ready for review July 31, 2024 13:25
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.

observability nit

crates/engine/tree/src/persistence.rs Outdated Show resolved Hide resolved
@joshieDo joshieDo requested a review from mattsse July 31, 2024 15:54
@joshieDo joshieDo enabled auto-merge July 31, 2024 16:17
@joshieDo joshieDo added this pull request to the merge queue Jul 31, 2024
Merged via the queue into main with commit 78c461e Jul 31, 2024
32 checks passed
@joshieDo joshieDo deleted the joshie/svb branch July 31, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve persistence action commits
2 participants