tikv / raft-engine

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

Default enable log recycling. #263

Closed LykxSassinator closed 2 years ago

LykxSassinator commented 2 years ago

Description

According to PR: #224 , we have make RaftEngine support log recycling with configuration enable-log-recycle: true. Also, the testing results shown in this pr have proved that this feature have positive effects to write workloads. So, starting from 0.3 version, we want to make it open as default.

Related changes

Default values to format-version and enable-log-recycle should be modified respectively: