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

CLONE - XDCR does not set snapStartSeqno and vb uuid correctly when starting stream request

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.2, 5.0.0
    • 4.0.0
    • XDCR
    • None
    • Untriaged
    • Unknown

    Description

      1. As of now, when starting stream requests, xdcr always sets snapStartSeqno to 0. As a result, whenever a rollback happens, it always rollback to 0. 

      The right thing to do is to track the latest snapStartSeqno received from DCP, save it to checkpoint doc, and use it to set snapStartSeqno the next time replication resumes.

      2. There is an issue with getFailoverUUIDForSeqno(), which could cause a 0 vbuuid to be recorded in checkpoint and included in start stream request. This also needs to be fixed.

      Attachments

        Issue Links

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

          Activity

            People

              arunkumar Arunkumar Senthilnathan (Inactive)
              arunkumar Arunkumar Senthilnathan (Inactive)
              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