Loading TOC...

MarkLogic 10 Product Documentation
xdmp:forest-database-replication-resume

xdmp:forest-database-replication-resume(
   $forest-ID as xs:unsignedLong*,
   $forceBulkReplication as xs:boolean
) as empty-sequence()

Summary

Resume database replication with the specified forest IDs.

Parameters
forest-ID forest IDs.
forceBulkReplication Whether to force bulk replication or not.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-forest-database-replication-resume

http://marklogic.com/xdmp/privileges/xdmp-forest-database-replication-resume/forest/{id}

http://marklogic.com/xdmp/privileges/xdmp-forest-database-replication-resume/database/{id}

Usage Notes

To resume database replication on a database, find all the open forests in the database and use xdmp:forest-database-replication-resume on each forest.

Example

xdmp:forest-database-replication-resume(98394839084390843,fn:true())
=> ()

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