mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix comment in raft.go
This commit is contained in:
parent
b1610934e3
commit
f9c9bfa44c
@ -1154,7 +1154,7 @@ func stepLeader(r *raft, m pb.Message) error {
|
||||
// the rejection's log term. If a probe at one of these indexes
|
||||
// succeeded, its log term at that index would match the leader's,
|
||||
// i.e. 3 or 5 in this example. But the follower already told the
|
||||
// leader that it is still at term 2 at index 9, and since the
|
||||
// leader that it is still at term 2 at index 6, and since the
|
||||
// log term only ever goes up (within a log), this is a contradiction.
|
||||
//
|
||||
// At index 1, however, the leader can draw no such conclusion,
|
||||
|
Loading…
x
Reference in New Issue
Block a user