Jay
Jay
Seems duplicated with #58.
jemalloc-sys detects compiler by using cc crate, as long as cross compile works for cc, it should work for jemAlloc-sys.
If there are a lot of tombstone keys between ranges, reusing iterator may perform worse.
See also #51. In TiKV, we solve this by splitting test cases into different groups and launch the multiple process to run those test group concurrently. Test case in the...
> Any docs or pointers on how to split into groups? No, it's just some scripts. > Will this work for module unit tests in the same .rs file, not...
You should not truncate WAL as correctness relies on persistent logs. Raft can't work with an unreliable storage. Maybe we can relax the check in `request_snapshot` and allow caller to...
This should be possible already if you compact leader logs from time to time. Also, you can consider make logs start from non-zero. For example, during initialization, there is only...
> what's the difference between truncation and compaction Truncation means deletes the tail of logs, compaction means delete the head of logs. When the logs can be deleted highly depends...
Lock is not required. `MemStorage` is just an example implementation for tests and explanation.
In Rust, you should utilize `Sync` and `Send` traits for thread safety consideration instead of locks. Both former traits implies how is a trait/struct used, lock is just an implementation...