There are internal settings for XDCR which are only exposed via the REST API. These settings will change the replication behavior, performance, and timing. To view an XDCR internal settings, for instance:
shell> curl -u Administrator:password1 \ http://10.4.2.4:8091/internalSettings
You will recieve a response similar to the following. For the sake of brevity, we are showing only the XDCR-related items:
{ .... "xdcrMaxConcurrentReps":33, "xdcrCheckpointInterval":222, "xdcrWorkerBatchSize":555, "xdcrDocBatchSizeKb":999, "xdcrFailureRestartInterval":44 }
The the XDCR-related values are defined as follows:
(Number) xdcrMaxConcurrentReps: Maximum concurrent replications per bucket, 8 to 256. Default is 32. This controls the number of parallel replication streams per node. If you are running your cluster on hardware with high-performance CPUs, you can increase this value to improve replication speed.
(Number) xdcrCheckpointInterval: Interval between checkpoints, 60 to 14400 (seconds). Default 1800.
(Number) xdcrWorkerBatchSize: Document batching count, 500 to 10000. Default 500.
(Number) xdcrDocBatchSizeKb: Document batching size, 10 to 100000 (kB). Default 2048.
(Number) xdcrFailureRestartInterval: Interval for restarting failed XDCR, 1 to 300 (seconds). Default 30.
For more information about XDCR, see Section 5.8, “Cross Datacenter Replication (XDCR)”.