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

Reconnecting with vbUUID 0 results in a rollback

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      When a DCP stream is "End"ed with any of these reasons -

      • ErrDCPStreamStateChanged
      • ErrDCPStreamTooSlow
      • ErrDCPStreamDisconnected
      • ErrForcedReconnect (new in 7.0.2)

      And, FTS reattempts the stream re-connection with possibly a non-zero start seqno and vbUUID as 0, KV returns a rollback response - causing FTS to unnecessary rollback and startover.

      A change is warranted in this area - where FTS fetches the last available valid UUID for the vbucket from the failover log and use that to re-initiate the stream request.

      Attachments

        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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty