Skip to content

Commit 59de79c

Browse files
FGaspermmcclimon
andauthored
Update internal/verifier/change_stream.go
Co-authored-by: Michael McClimon <[email protected]>
1 parent 75e49b0 commit 59de79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/verifier/change_stream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func (verifier *Verifier) iterateChangeStream(ctx context.Context, cs *mongo.Cha
215215
break
216216
}
217217

218-
if curTs.Compare(finalTs) >= 0 {
218+
if curTs == finalTs || curTs.After(finalTs) {
219219
verifier.logger.Debug().
220220
Interface("currentTimestamp", curTs).
221221
Interface("finalTimestamp", finalTs).

0 commit comments

Comments
 (0)