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

XDCR - Prevent unexpected stream-requests to local VBs not in 'active' state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • 7.6.0, Morpheus, 7.6.2, 7.6.1, 7.6.4, Cypher
    • XDCR
    • 0

    Description

      CBSE-17642 shows an incident wherein XDCR incorrectly sent a stream-request to a 'dead' state VB, since it was reflected as 'active' in the the vBucketMap from the response  ns_server 'GET /pools/default/bucket'.

      By setting the ACTIVE_VB_ONLY flag in our stream-request, we can direct the server to only accept the request if it has the 'active' VB. If not, the request fails with a NOT_MY_VBUCKET error.

      Refer flags section of https://github.com/couchbase/kv_engine/blob/master/docs/dcp/documentation/commands/stream-request.md

      Attachments

        Issue Links

          Activity

            People

              ayush.nayyar Ayush Nayyar
              aditya.sood Aditya Sood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty