You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
413 B
Markdown
20 lines
413 B
Markdown
## Build
|
|
|
|
First build static lib for RocksDB
|
|
|
|
```bash
|
|
cd rocksdb
|
|
USE_RTTI=1 DEBUG_LEVEL=0 make static_lib
|
|
```
|
|
|
|
## Edge key layout
|
|
|
|
* Forward `[true, *src_keys, *tgt_keys, *own_keys]`
|
|
* Backward `[false, *src_keys, *tgt_keys, *own_keys]`
|
|
|
|
## Isolation levels
|
|
|
|
* Read uncommitted: write to the raw DB
|
|
* Read committed: use transaction
|
|
* Repeatable read: use snapshot
|
|
* Serializable: do all reads with `GetForUpdate` |