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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.6.1
    • Component/s: XDCR
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      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

            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.1-9106 contains goxdcr commit f8a458c with commit message:
            MB-40847: XDCR stream request should use a VBUUID that knows snapEndSeqNo, not just throughSeqNo.

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.1-9106 contains goxdcr commit f8a458c with commit message: MB-40847 : XDCR stream request should use a VBUUID that knows snapEndSeqNo, not just throughSeqNo.
            Hide
            wayne Wayne Siu added a comment -

            Lilei Chen John Liang

            Is this backport complete?  Thanks.

            Show
            wayne Wayne Siu added a comment - Lilei Chen John Liang Is this backport complete?  Thanks.
            Hide
            lilei.chen Lilei Chen added a comment -

            Yes it is complete.

            Show
            lilei.chen Lilei Chen added a comment - Yes it is complete.
            Hide
            pavithra.mahamani Pavithra Mahamani added a comment -

            Do not see any regressions in 6.6.1-9198.

            Show
            pavithra.mahamani Pavithra Mahamani added a comment - Do not see any regressions in 6.6.1-9198.

              People

              Assignee:
              lilei.chen Lilei Chen
              Reporter:
              lilei.chen Lilei Chen
              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