Skip to content

Commit e22a3ca

Browse files
committed
Fix warning message
1 parent 662f58c commit e22a3ca

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

base/dcp_common.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,8 @@ func (c *DCPCommon) updateSeq(vbucketId uint16, seq uint64, warnOnLowerSeqNo boo
231231
if c.endSeqNos != nil {
232232
endSeq, ok := c.endSeqNos[vbucketId]
233233
if !ok {
234-
AssertfCtx(c.loggingCtx, "Received DCP event for vbno %d which is greater than endSeqNos we have for that vbno", vbucketId)
235-
}
236-
// Checkpoints
237-
if seq > endSeq {
234+
AssertfCtx(c.loggingCtx, "Received DCP event for vbno %d which is not tracked by the expected endSeqNos %#+v. This means that endSeqNos was specified with the incorrect number of vBuckets", vbucketId, c.endSeqNos)
235+
} else if seq > endSeq {
238236
return
239237
}
240238
}

0 commit comments

Comments
 (0)