mintkv
A simple KV database in rust is based on btree, written as a learning project.
File system layout
data
|----blocks
| b_0000001
data
meta.json
index.json
tombstone
| b_0000002
data
meta.json
index.json
tombstone
|-----memtables (mmap)
| m_0001
data
tombstone
TODO
- B+tree as engine
- Memtables
- LE128 Code
- Blocks(disk present)
- Wal
- tombstone
- compaction
Example
use MintKv;
const TEST_COUNT: i32 = 1000;