src/services/acknowledgements.go
BeforeProposed
+1−1
55)
66
77func Remember(node *models.Node, peer string, match int) {
8 node.Matches[peer] = match
8 node.Matches[peer] = models.Maximum(node.Matches[peer], match)
99}
Opening your workspace…
Opening review…
Review the independently proposed patch below, including its unchanged callers. Out-of-order acknowledgements must not decrease a peer match index. A follower must separately cap a heartbeat commit at its last newly confirmed index, not an unconfirmed local tail.
Review focus: Consensus log transitions
0 / 10,000 characters · A verdict needs supporting evidence.
Sign in to view your reviews.