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

pathdb: Pathdb full write-buffer check #497

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Conversation

protolambda
Copy link
Collaborator

Description

If we lose a large enough journal, then the state at startup of a full-node may be unavailable.
So prevent the write-buffer from growing too large, to keep the journal safe to delete.

Split into two commits, so the code-fix can be cherry-picked into upstream.

Metadata

(attempt to) Fix ethereum/go-ethereum#31131

@sebastianst sebastianst merged commit 7374890 into optimism Feb 10, 2025
7 checks passed
@sebastianst sebastianst deleted the pathdb-full-check branch February 10, 2025 14:58
sebastianst pushed a commit that referenced this pull request Feb 26, 2025
* pathdb: limit diff layers in write-buffer

* fork.yaml: document pathdb fix
sebastianst pushed a commit that referenced this pull request Feb 26, 2025
* pathdb: limit diff layers in write-buffer

* fork.yaml: document pathdb fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dealing with journal version upgrades
2 participants