mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Do not aggressively compact raft log entries. After a snapshot, etcd server can compact the raft log upto snapshot index. etcd server compacts to an index smaller than snapshot to keep some entries in memory. The leader can still read out the in memory entries to send to a slightly slow follower. If all the entries are compacted, the leader will send the whole snapshot or read entries from disk if possible.
7.8 KiB
7.8 KiB