Use truncate_from() instead of skip when a follower detects a term mismatch, correctly deleting conflicting entries and all that follow per the Raft protocol. |
||
|---|---|---|
| .. | ||
| handler.rs | ||
| message.rs | ||
| mod.rs | ||
| raft_log.rs | ||
| server.rs | ||
| sync.rs | ||
Use truncate_from() instead of skip when a follower detects a term mismatch, correctly deleting conflicting entries and all that follow per the Raft protocol. |
||
|---|---|---|
| .. | ||
| handler.rs | ||
| message.rs | ||
| mod.rs | ||
| raft_log.rs | ||
| server.rs | ||
| sync.rs | ||