Skip to content

Commit 2d9dfe6

Browse files
committed
clear finalization timeouts on advancee state
1 parent 1bbabbb commit 2d9dfe6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

replication_state.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ func (r *ReplicationState) MaybeAdvanceState(nextSequenceToCommit uint64, curren
245245

246246
if nextSequenceToCommit > 0 {
247247
r.deleteOldRounds(nextSequenceToCommit - 1)
248+
r.finalizationRequestor.removeOldTasks(nextSequenceToCommit- 1)
248249
}
249250

250251
// update the requestors in case they need to send more requests

0 commit comments

Comments
 (0)