Alex Sharov
ec3a5f6d38
lmdb version up to 2020 ( #632 )
2020-06-06 13:47:34 +01:00
Alex Sharov
d8ffd02b4f
Lmdb and Badger tests ( #630 )
...
* try lmddb
* try badger
* try bigger badger
* try lmb
* release
* release
* release
* release
* try badger
* try lmdb low memory
* try lmdb low memory
* lmdb high memory (16Mb not enough for /eth/downloader package)
* badger more memory
* badger more memory
* badger more memory
2020-06-06 11:29:11 +01:00
Alex Sharov
f0bc2b2146
Run tests on lmdb and badger ( #624 )
...
* lmdb tests
* trigger ci
* fix tests
* disable parallelism
* disable parallelism
* cleanup resources
* cleanup resources
* reduce concurency
* try run tests on bolt
* try run tests on bolt
* fix downloader test
* run bolt tests
* rely on interface instead of exact instance
* Rename AbstractKV to KV
* don't use separator for badger
* don't initialize badger cursor - because it not used here
* fix linter
* try reduce badger compactors
* compat with master
* try lmdb
* try lmdb
* try lmdb
* reduce badger's MaxTableSize, reduce badger's minGoMaxProc for inMem option
* allow to close closed db
* release
* release
* ideal batch size for badger
* ideal batch size for badger
2020-06-05 10:25:33 +01:00
Alex Sharov
abf8dfbcf6
implement cursor put ( #617 )
...
* implement cursor put
* add bolt and bucket cursor.Put/Del
2020-06-04 12:19:59 +01:00
Alex Sharov
7aa050ca79
[Breaking change in db!] UI for Buckets stat ( #607 )
...
* UI for buckets size
2020-06-04 16:35:42 +07:00
Alex Sharov
916a1f8b83
[wip] Lmdb: AbstractKV and DB interfaces ( #589 )
...
* resetIH from scratch if needed
* lmdb
* add AbstractKV to loader, added new Object accessor around AbstractKV
* add lmdb cli flag
* add requirement of k!=nil on error in docs
* add Size method for compatibility
* read after put tests
* fix multiput nils
* simplify loops
* increase mmap size
* better error messages
* better error messages
* fix tests
* better error messages
* cleanup
* avoid bolt usage in test
* move hardcoded bucket name to dbutils
* register more buckets
* register more buckets
* fix test
2020-05-30 09:12:21 +01:00