By default if XDCR is unable to replicate for any reason like
network failures, it will stop and try to reach the remote
cluster every 30 seconds if the network is back, XDCR will
resume replicating. You can change this default by changing an
environment variable or by changing the server parameter
xdcr_failure_restart_interval.
By an environment variable:
shell> export XDCR_FAILURE_RESTART_INTERVAL=60By server setting:
shell> curl -X POST http://Administrator: <http://Administrator/>asdasd@127.0.0.1:9000/diag/eval \ -d 'rpc:call(node(), ns_config, set, [xdcr_failure_restart_interval, 60]).'
You can put the system environment variable in a system configuration file on your nodes. When the server restarts, it will load this parameter. If you set both the environment variable and the server parameter, the value for the environment parameter will supersede.