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

garbage collect not commited tries #261

Merged
merged 8 commits into from
Oct 18, 2023
Merged

Conversation

magicxyyz
Copy link
Contributor

@magicxyyz magicxyyz commented Oct 5, 2023

  • adds missing garbage collection of not committed states when running archive node that skips saving some states
  • adds acquiring db lock before accessing dirties map in hashdb/Database.commit to fix race Database.commit vs Database.dereference
  • fixes committing oldest node from triegc in BlockChain.Stop

@cla-bot cla-bot bot added the s CLA signed label Oct 5, 2023
Copy link
Contributor

@ganeshvanahalli ganeshvanahalli left a comment

Choose a reason for hiding this comment

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

lgtm

@joshuacolvin0 joshuacolvin0 merged commit 5d9bb83 into master Oct 18, 2023
4 checks passed
@joshuacolvin0 joshuacolvin0 deleted the fix-skipped-state-gc branch October 18, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s CLA signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants