Details
-
Bug
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
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.