go-pulse/trie/triedb
Maciej Kulawik fa0df76f3c
trie/triedb/hashdb: take lock around access to dirties cache (#28542)
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 #28541

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2023-11-30 10:50:48 +01:00
..
hashdb trie/triedb/hashdb: take lock around access to dirties cache (#28542) 2023-11-30 10:50:48 +01:00
pathdb trie/triedb/pathdb: improve dirty node flushing trigger (#28426) 2023-10-31 11:39:55 +02:00