Simon Marlow
Simon Marlow
This commit adds an LMDB-based storage backend. # Why? * It's faster than RocksDB (see below) * It has no dependencies (all the code is bundled, just a couple of...
* db_create_storage config to select storage backend ("rocksdb" or "lmdb") * make DB versions Storage-specific, as they should be * fix DatabaseJanitorTest and enable it
The new config flag `db_lmdb_restore_unpack` (default true) controls unpacking of the DB when it is restored. If this flag is set to false, then the DB will *not* be unpacked...
As an experiment I spent some time yesterday replacing RocksDB with LMDB (https://www.symas.com/mdb) in Glean's backend. The thinking is that LMDB is vastly simpler than RocksDB - just one `.c`...
We had "groups" as a way to run a test multiple ways where the output files might differ, but that only works if you can run the test multiple ways...