flexrep:push-local-forests() as empty-sequence()
This function pushes deletes and any pending replication updates
(either retries or zero-day) from all of the forests on the
current host. A separate task is spawned for each combination
of CPF domain and local forest which in turn calls the
push-local-forest
to increase parallelism.
xquery version "1.0-ml"; import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" at "/MarkLogic/flexrep.xqy"; flexrep:push-local-forests() (: Pushes all pending replication updates from all of the forests on the host. :)
http://marklogic.com/xdmp/privileges/flexrep-user