go-ethereum/core/rawdb
Marius van der Wijden 2a836bb259
core/rawdb: fix data race between Retrieve and Close (#20919)
* core/rawdb: fixed data race between retrieve and close

closes https://github.com/ethereum/go-ethereum/issues/20420

* core/rawdb: use non-atomic load while holding mutex
2020-04-14 18:13:47 +03:00
..
accessors_chain_test.go core/rawdb: check hash before return data from ancient db (#20195) 2019-11-19 12:32:57 +02:00
accessors_chain.go core/rawdb: check hash before return data from ancient db (#20195) 2019-11-19 12:32:57 +02:00
accessors_indexes_test.go core: lookup txs by block number instead of block hash (#19431) 2019-04-25 17:24:55 +03:00
accessors_indexes.go core: concurrent database reinit from freezer dump 2019-05-27 15:48:30 +03:00
accessors_metadata.go cmd/geth, core/rawdb: seamless freezer consistency, friendly removedb 2019-05-16 17:01:56 +03:00
accessors_snapshot.go core: journal the snapshot inside leveldb, not a flat file 2020-02-25 12:51:10 +02:00
database.go core/rawdb, core/state/snapshot: runtime snapshot generation 2020-02-25 12:51:08 +02:00
freezer_reinit.go core/rawdb: fix reinit regression caused by the hash check PR 2019-11-27 14:41:47 +02:00
freezer_table_test.go core/rawdb: fix freezer table test error check 2020-03-18 06:55:30 -05:00
freezer_table.go core/rawdb: fix data race between Retrieve and Close (#20919) 2020-04-14 18:13:47 +03:00
freezer.go core, metrics, p2p: switch some invalid counters to gauges 2019-09-10 14:39:07 +03:00
schema.go core: fix two snapshot iterator flaws, decollide snap storage prefix 2020-03-23 12:34:27 +02:00
table_test.go core/rawdb: improve table database (#20703) 2020-03-18 13:15:49 +01:00
table.go core/rawdb: improve table database (#20703) 2020-03-18 13:15:49 +01:00