Skip to content

Commit

Permalink
COMPLETE project3A & PASS
Browse files Browse the repository at this point in the history
  • Loading branch information
Metafora072 committed Jul 25, 2024
1 parent a6647f1 commit 871ff87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raft/raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func (r *Raft) handlePropose(m pb.Message) {
if r.leadTransferee != None {
return
}

cd

Check failure on line 734 in raft/raft.go

View workflow job for this annotation

GitHub Actions / Build & Test

undefined: cd
// 更新节点日志复制进度 Progress
r.Prs[r.id].Match = r.RaftLog.LastIndex()
r.Prs[r.id].Next = r.RaftLog.LastIndex() + 1
Expand Down

0 comments on commit 871ff87

Please sign in to comment.