Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.0.0, Neo
-
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.")