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. |
||
|---|---|---|
| .. | ||
| handler.rs | ||
| message.rs | ||
| mod.rs | ||
| raft_log.rs | ||
| server.rs | ||
| sync.rs | ||
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. |
||
|---|---|---|
| .. | ||
| handler.rs | ||
| message.rs | ||
| mod.rs | ||
| raft_log.rs | ||
| server.rs | ||
| sync.rs | ||