Skip to content

Conversation

@protolambda
Copy link
Contributor

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

3 participants