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

For setting-xdcr , example mentioned for xdcr-setup

    XMLWordPrintable

Details

    • 1

    Description

      In below Link:

      https://docs.couchbase.com/server/7.0/cli/cbcli/couchbase-cli-setting-xdcr.html#examples

      ie. 

      $ couchbase-cli xdcr-setup -c 192.168.1.5 -u Administrator \

      -p password --checkpoint-interval 500 --worker-batch-size 1000 \

      --doc-batch-size 10240 --failure-restart-interval 60 \

      --optimistic-replication-threshold 102400 --source-nozzle-per-node 8 \

      --target-nozzle-per-node 8 --log-level info --stats-interval 100

       

      1. which is the example of Setting-xdcr, but in command its mentioned as xdcr-setup.

      2. log-level mentioned as "info" where allowed is "Info".

      ERROR: argument --log-level: invalid choice: 'info' (choose from 'Error', 'Info', 'Debug', 'Trace')

      3. doc-batch-size 10240 is mentioned in example where allowed range is 10 and 10000

      ERROR: docBatchSizeKb - The value must be an integer between 10 and 10000

      4.  stats-interval 100 is mentioned in example where allowed range is 200 to 600000

      ERROR: statsInterval - The value must be an integer between 200 and 600000

      So, in example we should have correct values.

      Just noticed that **docBatchSizeKb is in KB but for all other commands its updated to MiB so not sure about this but wanted to added a note as if its need an update.

      Attachments

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

        Activity

          People

            deepika.verma Deepika Verma (Inactive)
            deepika.verma Deepika Verma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty