plugeth/ethdb
Martin Holst Swende 99394adcb8
ethdb/pebble: prevent shutdown-panic (#27238)
One difference between pebble and leveldb is that the latter returns error when performing Get on a closed database, the former does a panic. This may be triggered during shutdown (see #27237)

This PR changes the pebble driver so we check that the db is not closed already, for several operations. It also adds tests to the db test-suite, so the previously implicit assumption of "not panic:ing at ops on closed database" is covered by tests.
2023-05-19 08:36:21 -04:00
..
dbtest ethdb/pebble: prevent shutdown-panic (#27238) 2023-05-19 08:36:21 -04:00
leveldb ethdb: add benchmark test suite (#26659) 2023-02-10 04:35:00 -05:00
memorydb ethdb/pebble: prevent shutdown-panic (#27238) 2023-05-19 08:36:21 -04:00
pebble ethdb/pebble: prevent shutdown-panic (#27238) 2023-05-19 08:36:21 -04:00
remotedb cmd/geth, cmd/utils: geth attach with custom headers (#25829) 2022-09-30 13:50:25 +02:00
batch.go core, ethdb, tests, trie: implement NewBatchWithSize API for batcher (#24392) 2022-02-15 15:15:13 +02:00
database.go cmd, core, ethdb, node: move chain freezer one folder deeper (#25487) 2022-08-08 12:08:36 +03:00
iterator.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
snapshot.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00