Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7960 Replace XDCR CAPI protocol on the destination with memcached protocol
  3. MB-8299

remote_cluster_info module should return remote memcached access info

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Critical
    • 2.2.0
    • 2.2.0
    • ns_server, XDCR
    • Security Level: Public

    Description

      In 2.1, XDCR will provide an option to replicate to remote memcached instead of CAPI.

      This requires XDCR core infrastructure to understand how to access memcached at remote cluster.

      For example, in order to replicate remote bucket "default", vbucket 123, XDCR need to know

      1) node (ip address) for this vbucket at remote cluster;
      2) memcached port of the node where the vbucket lives;
      3) credentials to access the memcached at that node

      Module remote_cluster_info is a natural home for such information.

      Today 1) has been already encoded in the vbucketmap maintained by remote_cluster_info, but 2) and 3) are not available. This task will expand remote_cluster_info module to include 2) and 3).

      In particular, XDCR need an API to return 1), 2), 3) above, e.g.,

      remote_cluster_info:fetch_remote_memcached_info(RemoteClusterId, Bucket, VBucket)

      returns

      {"10.3.114.2", 11998, "_admin", "_password"}

      Attachments

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

        Activity

          People

            maria Maria McDuff (Inactive)
            junyi Junyi Xie (Inactive)
            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