tikv / raft-engine

A persistent storage engine for Multi-Raft log
Apache License 2.0
565 stars 88 forks source link

Change `PipeLog` to a trait #31

Closed hicqu closed 4 years ago

hicqu commented 4 years ago

So that we can use a black hole implementation or a simple memory implementation to benchmark raft engine without any disk I/O.

Renkai commented 4 years ago

pick this issue

Fullstop000 commented 4 years ago

For a simple `Arc<Mutex> based memory FS, maybe you can refer to https://github.com/Fullstop000/wickdb/blob/master/src/storage/mem.rs It's tested in various cases @Renkai