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: Fix concurrent map access on trie.dirties #23674

Closed
wants to merge 1 commit into from

Commits on Oct 1, 2021

  1. trie: Fix concurrent map access on trie.dirties

    The dirties map of trie.Database was not read protected inside the
    commit function, since the trie.Database is called from many go-routines
    this sometimes lead to concurrent map read and write errors.
    
    The solution is to read lock over trie.dirties in commit
    piersy committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    b5a3d8e View commit details
    Browse the repository at this point in the history