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

XDCR Pause Syntax example is incorrect

    XMLWordPrintable

Details

    Description

      The sample REST call shown in the docs is incorrect, the parameters listed in the docs look fine.

      Get UIID of replication stream -
      curl -u <AdminUser>:<password> http://<host>:8091/pools/default/remoteClusters

      Example

      1. curl -u Administrator:password http://localhost:8091/pools/default/remoteClusters

      Response:

      {"deleted":false,"hostname":"ec2-54-203-127-63.us-west-2.compute.amazonaws.com:8091","name":"Remote","uri":"/pools/default/remoteClusters/Remote","username":"Administrator","uuid":"f8c4a11b76de77597c60ba3fda0c6f23","validateURI":"/pools/default/remoteClusters/Remote?just_validate=1"}

      Syntax curl -X POST -u Administrator:password http://localhost:8091/settings/replications/<uuid>%2F<bucketname_source>%2F<bucketname_target> \ -d ‘pauseRequested=true'

      Example – replicating from bucket travel-sample to bucket Airlines:

      1. curl -X POST -u Administrator:password http://localhost:8091/settings/replications/f8c4a11b76de77597c60ba3fda0c6f23%2Ftravel-sample%2FAirlines \
        -d ‘pauseRequested=true’

      Response:

      {"checkpointInterval":1800,"docBatchSizeKb":2048,"failureRestartInterval":10,"filterExpression":"","logLevel":"Info","optimisticReplicationThreshold":256,"pauseRequested":true,"sourceNozzlePerNode":2,"statsInterval":1000,"targetNozzlePerNode":2,"type":"xmem","workerBatchSize":500}

      Reporter: Tim Wong
      E-mail: tim.wong@couchbase.com

      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)
            tim.wong Tim Wong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty