Skip to content

Commit 6373dd5

Browse files
committed
fixup! Handle AE response term before success value
1 parent 11dd1f6 commit 6373dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/raft.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3614,7 +3614,7 @@ func (n *raft) processAppendEntryResponse(ar *appendEntryResponse) {
36143614
n.Unlock()
36153615
arPool.Put(ar)
36163616
return
3617-
}
3617+
}
36183618

36193619
// ignore responses from older terms
36203620
if ar.term < n.term {

0 commit comments

Comments
 (0)