MarkLogic 9 Product Documentation
flexrep.pushLocalForests

flexrep.pushLocalForests() as null

Summary

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.

Required Privileges

http://marklogic.com/xdmp/privileges/flexrep-user

Example

const flexrep = require('/MarkLogic/flexrep');

  flexrep.pushLocalForests();

  // Pushes all pending replication updates from all of the forests on the host.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy