Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.0.2
-
Untriaged
-
1
-
Unknown
Description
2020-07-17T07:46:03.470779+00:00 WARNING (...) DCP (Producer) ... (vb 1022) Stream request requires rollback to seqno:0 because consumer ahead of producer - producer upper at 116568276. Client requested seqnos:{115239719,18446744073709551615} snapshot:
{0,*119143464*}uuid:249446429228291
with a failover table:
vb_1022:0:id: 219185357247156 |
vb_1022:0:seq: 116568276 |
vb_1022:1:id: 249446429228291 |
vb_1022:1:seq: 111396952 |
vb_1022:2:id: 188806553016851 |
vb_1022:2:seq: 37991382 |
vb_1022:3:id: 66464709363434 |
vb_1022:3:seq: 26662145 |
vb_1022:4:id: 127320509648333 |
vb_1022:4:seq: 0 |
vb_1022:num_entries: 5 |
vb_1022:num_erroneous_entries_erased: 0 |
The start seqNo falls within the second failover log entry. The endSnap falls within the first log entry. XDCR choose the failover UUID based on start seqNo (see getFailoverUUIDForSeqno()). It doesn't check if endSnap is ahead of its upper.
Attachments
Issue Links
- is a backport of
-
MB-40777 Consumer ahead of producer error
- Closed
For Gerrit Dashboard: MB-40847 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
134110,4 | MB-40847: XDCR stream request should use a VBUUID that knows snapEndSeqNo, not just throughSeqNo. | mad-hatter | goxdcr | Status: MERGED | +2 | +1 |