Greg Fitzgerald
471bc73a23
Fix Rust 1.37.0 compiler warnings ( #5530 )
...
Looks like most usages of trait objects should have introduced
a type variable instead.
2019-08-15 14:00:09 -06:00
Rob Walker
7f75cc8906
update nightly to 2019-05-01 ( #4111 )
...
* update nightly to 2019-05-01
* cargo fmt
* cargo fmt
* increase bench timeout
2019-05-01 20:08:42 -07:00
Mark E. Sinclair
9b0bf5ad66
Add tests for table mappers; Bugfix on-disk mapper ( #3408 )
...
add tests to `kvstore::mapper::{disk, memory}` modules
fix bug in disk mapper uncovered by tests
use `tempdir` crate for unit test-directories
2019-03-21 11:38:29 -05:00
Mark
7812b67471
deduplicate some test code ( #3401 )
2019-03-20 19:35:25 -05:00
Mark E. Sinclair
13c9d3d4e1
Kvstore: use bincode serialization ( #3385 )
...
* use bincode for SSTable serialization; add tests
* Fix bug uncovered in merge algorithm by unit tests
* use bincode in write-ahead-log serialization
* Add helper `Fill` trait for zeroing buffers
2019-03-20 09:55:44 -05:00
Mark
b3cdf58e4b
Add WriteBatch to KvStore ( #3364 )
...
* implement write-batch in kvstore
* Add tests to writebatch, and in-memory table
2019-03-20 06:55:39 -05:00
Mark E. Sinclair
5d73ab299b
Clean up locks in KvStore ( #3358 )
...
* Lift all shared mutable state into Kvstore
commit is now an AtomicUsize
In-memory table and write-log are now struct members behind individual RwLocks
2019-03-18 19:04:31 -05:00
Mark
656fb173f9
Extract kvstore into separate crate ( #3327 )
...
* extract kvstore into new crate
* add kvstore crate to CI publishing list
2019-03-15 18:42:47 -05:00