Loading TOC...

MarkLogic Server 11.0 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.
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.