Skip to content

core/state: ensure triedb Commit after Update#1900

Merged
brilliant-lx merged 1 commit intobnb-chain:masterfrom
node-real:trie_commit_after_update
Sep 27, 2023
Merged

core/state: ensure triedb Commit after Update#1900
brilliant-lx merged 1 commit intobnb-chain:masterfrom
node-real:trie_commit_after_update

Conversation

@NathanBSC
Copy link
Copy Markdown
Contributor

@NathanBSC NathanBSC commented Sep 27, 2023

Description

core/state: ensure triedb Commit after Update

Rationale

if Commit first, and then Update, trie nodes may not write into disk correctly
and it lead to memory leak in archive mode

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@joey0612
Copy link
Copy Markdown
Contributor

LGTM

@brilliant-lx brilliant-lx merged commit f8bc2b7 into bnb-chain:master Sep 27, 2023
@NathanBSC NathanBSC deleted the trie_commit_after_update branch October 9, 2023 01:33
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.

5 participants