Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40847

[6.6.1 BP MB-40777] - Consumer ahead of producer error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.6.1
    • 6.0.2
    • XDCR
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lilei.chen Lilei Chen (Inactive)
              lilei.chen Lilei Chen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty