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

trie/triedb/hashdb: lock db lock when accessing dirties cache #28542

Merged
merged 2 commits into from
Nov 30, 2023

Commits on Nov 20, 2023

  1. trie/triedb/hashdb: lock db lock when accessing dirties cache

    Add read locking of db lock around access to dirties cache in hashdb.Database to prevent data race versus hashdb.Database.dereference which can modify the dirities map by deleting an item.
    
    Fixes ethereum#28541
    magicxyyz authored and rjl493456442 committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    a4a1388 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    586d4d7 View commit details
    Browse the repository at this point in the history