tikv / raft-engine

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

Support to trigger rewrite by garbage ratio #57

Open hicqu opened 4 years ago

hicqu commented 4 years ago

Now the rewrite routine is triggered by size of the append log queue. If we can support to trigger rewrite routine by the garbage ratio of the append log queue, this engine can be more suitable for some situations. For example, a normal Hashmap + WAL.