tikv / raft-engine

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

truncate and sync active log correctly #66

Closed hicqu closed 4 years ago

hicqu commented 4 years ago

Without the patch truncate_log_file will do nothing for switching active log file. This PR fixes it.