Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Holst Swende
0b53b29078
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
...
This PR does a few things.
It fixes a shutdown-order flaw in the chainfreezer. Previously, the chain-freezer would shutdown the freezer backend first, and then signal for the loop to exit. This can lead to a scenario where the freezer tries to fsync closed files, which is an error-conditon that could lead to exit via log.Crit.
It also makes the printout more detailed when truncating 'dangling' items, by showing the exact number instead of approximate MB.
This PR also adds calls to fsync files before closing them, and also makes the `db inspect` command slightly more robust.
2 years ago
..
testdata
core/rawdb: avoid unnecessary receipt processing for log filtering ( #23147 )
3 years ago
accessors_chain.go
core: drop legacy receipt types ( #26225 )
2 years ago
accessors_chain_test.go
all: fix some typos ( #25551 )
2 years ago
accessors_indexes.go
core/rawdb: fix logs to print block number, not address ( #23328 )
3 years ago
accessors_indexes_test.go
core/rawdb: single point of maintenance for writing and deleting tx lookup indexes ( #21480 )
4 years ago
accessors_metadata.go
all: cleanup the APIs for initializing genesis ( #25473 )
2 years ago
accessors_snapshot.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
accessors_state.go
core/rawdb: add HasCode, HashTrieNode and use them where possible ( #24454 )
3 years ago
accessors_sync.go
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
ancient_scheme.go
core/rawdb: refactor db inspector for extending multiple ancient store ( #25896 )
2 years ago
ancient_utils.go
core/rawdb: refactor db inspector for extending multiple ancient store ( #25896 )
2 years ago
chain_freezer.go
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
2 years ago
chain_iterator.go
core/blockchain: downgrade tx indexing and unindexing logs ( #25832 )
2 years ago
chain_iterator_test.go
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
database.go
core/rawdb: refactor db inspector for extending multiple ancient store ( #25896 )
2 years ago
database_test.go
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
freezer.go
core/rawdb: fix freezer validation ( #26251 )
2 years ago
freezer_batch.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
freezer_meta.go
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
freezer_meta_test.go
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
freezer_resettable.go
core/rawdb: implement resettable freezer ( #26324 )
2 years ago
freezer_resettable_test.go
core/rawdb: implement resettable freezer ( #26324 )
2 years ago
freezer_table.go
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
2 years ago
freezer_table_test.go
cmd, core, ethdb, node: move chain freezer one folder deeper ( #25487 )
2 years ago
freezer_test.go
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
2 years ago
freezer_utils.go
all: replace uses of ioutil with io and os ( #24869 )
3 years ago
freezer_utils_test.go
all: more linters ( #24783 )
2 years ago
key_length_iterator.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
key_length_iterator_test.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
schema.go
core/rawdb: refactor db key prefix ( #26000 )
2 years ago
table.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
table_test.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago