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

[FTS+GoCB] Server restart causing unnecessary rollbacks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • None
    • fts
    • Untriaged
    • Unknown

    Description

      Consumer:

      2019-10-21T14:13:15.455-07:00 [INFO] feed_gocb_dcp: Received rollback, for vb: 90, seqStart: 28, seqEnd: 18446744073709551615 

      Producer:

      2019-10-21T14:13:15.455691-07:00 WARNING 34: (travel-sample) DCP (Producer) eq_dcpq:travel_162372f50f7229c0_13aa53f3 - (vb:90) Stream request requires rollback to seqno:0 because vBucket UUID not found in failover table, consumer and producer have no common history. Client requested seqnos:{28,18446744073709551615} snapshot:{28,28} uuid:0 

      This is happening as the right vbuuid is not being persisted into the failover logs - causing stream initiation with vbuuid "0", this owing to the metaData not being fetched correctly from the server. 

      https://github.com/couchbase/cbgt/blob/e425aff1533ead6f03a43a246072c15a7f331cc3/feed_dcp_gocb.go#L626...L636

      .. and that's because feed.Stats() is timing out ...

      https://github.com/couchbase/cbgt/blob/e425aff1533ead6f03a43a246072c15a7f331cc3/feed_dcp_gocb.go#L275...L319

      [INFO] rest: error code: 500, msg: error processing Feed stats: operation has timed out

       

      Attachments

        Issue Links

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

          Activity

            People

              abhinav Abhi Dangeti
              abhinav Abhi Dangeti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty