braft
braft copied to clipboard
Fix raft_sync bug when segment is closed
if raft_sync is enabled and raft_sync_segments isn't enabled, it will cause data loss when the pre segment is closed.
if raft_sync is enabled and raft_sync_segments isn't enabled, it will cause data loss when the pre segment is closed.