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

[BP 7.2.7] XDCR - Prevent unexpected stream-requests to local VBs not in 'active' state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 7.2.7
    • 7.2.7
    • 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

          For Gerrit Dashboard: MB-63012
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change

                  PagerDuty