flexrep.pushLocalForests() as null
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
pushLocalForest
to increase parallelism.
http://marklogic.com/xdmp/privileges/flexrep-user
const flexrep = require('/MarkLogic/flexrep'); flexrep.pushLocalForests(); // Pushes all pending replication updates from all of the forests on the host.