Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix. raft follower will rollback itself when it misses a certain log
if a leader fails to update its last_log_id_sent (maybe caused be follower fail or network issue), it will then try to send some duplicated logs in the next appendLog request. ``` commitId_: 99 | v local wal: |-------------------| req.append_entries: |----------------| ``` in this case, follower will do rollback even if the logs are the same.
- Loading branch information