Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9832

For XDCR REST API create replication, for -d type, capi is no longer a valid option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.0.0, Neo
    • xdcr
    • None
    • DOC-2022-S6
    • 1

    Description

      XDCR REST API create replication -d type=capi support was removed in 7.0.0.

      $ curl -X POST -u Administrator:password http://localhost:8091/controller/createReplication -d replicationType=continuous -d fromBucket=testbucket1 -d toCluster=myself -d toBucket=testbucket2 -d type=capi
      {"errors":{"type":"CAPI replication mode is now deprecated"}}
      

      So, this doc page showing "capi" as an option for -d type should be updated – https://docs.couchbase.com/server/current/rest-api/rest-xdcr-create-replication.html – references to "capi" are in the syntax and the description below the syntax.

        -d type=["capi" | "xmem"]
      

      Note 1: Currently, the only option for -d type is "xmem", which is also the default option when -d type is not used in the create replication REST API.

      Note 2 : CAPI based XDCR was deprecated in 4.5.0 – https://docs-archive.couchbase.com/server/4.5/release-notes/relnotes.html (look for "CAPI based XDCR is deprecated.")

      Attachments

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

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            hyun-ju.vega Hyun-Ju Vega
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty