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

XDCR needs to use alternate address when connecting to Couchbase cloud

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • 6.5.1, Cheshire-Cat
    • XDCR
    • None
    • Untriaged
    • Centos 64-bit
    • 1
    • No

    Description

      This is how a couchbase cloud target ns_server set up looks like:

        "nodes": [
          {
            "alternateAddresses": {
              "external": {
                "hostname": "cb-0000.ead75783-adbe-42ac-8937-e187da9abf80.dp.cloud.couchbase.com",
                "ports": {
                  "kv": 11210,
                  "mgmt": 8091
                }
              }
            },
            "couchApiBase": "http://cb-0000.cb.ead75783-adbe-42ac-8937-e187da9abf80.svc:8092/couchbasecloudbucket%2Bd63abb01677215a93003366564a5a87a",
            "hostname": "cb-0000.cb.ead75783-adbe-42ac-8937-e187da9abf80.svc:8091",
            "ports": {
              "direct": 11210
            }
          },
          {
            "alternateAddresses": {
              "external": {
                "hostname": "cb-0001.ead75783-adbe-42ac-8937-e187da9abf80.dp.cloud.couchbase.com",
                "ports": {
                  "kv": 11210,
                  "mgmt": 8091
                }
              }
            },
      

      From this we can tell that we technically should be using the alternate address, since the traditional "hostname" field is not valid as a remote cluster FQDN.

      People can create cloud references directly from local machine using the cloud SRV, and the XDCR working off of the user intent isn't clear.
      Because of this, XDCR cannot replicate successfully to the cloud.

      Attachments

        Issue Links

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

          Activity

            People

              neil.huang Neil Huang
              neil.huang Neil Huang
              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