-
Notifications
You must be signed in to change notification settings - Fork 229
fix: making writing atomic #2745
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
Conversation
The latest Buf updates on your PR. Results from workflow CI and Release / buf-check (pull_request).
|
Claude finished @tac0turtle's task —— View job Code Review Complete ✅I've performed a comprehensive code review of the atomic writing implementation. This is an excellent refactoring that addresses a critical issue with non-atomic writes. SummaryThis PR successfully implements atomic batch writes for block data, state, and height updates. The new Key Achievements:
Critical Issues1.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! It will solve a lot of issue for ev-node.
It would be good to add in a follow-up some detection to see if we are after some Execution client calls. If we are and if we fail to commit the batch afterwards, we should instruct people to rollback. As the execution client rollback is still manual
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
let's wait until the base branch is merged to main, before merging this. or this should target main directly.
opening this against main |
Overview
Closes ##2274