Commit Graph

1 Commits

Author SHA1 Message Date
zhenyi bcd750b905 feat(raft): add log truncation for AppendEntries conflict resolution
Add truncate_from() method to RaftLog for removing entries from a given
index onwards, as required by the Raft protocol when a follower detects
a term mismatch during AppendEntries.
2026-06-10 18:32:22 +08:00