Loading TOC...

MarkLogic 9 Product Documentation
xdmp:forest-database-replication-suspend

xdmp:forest-database-replication-suspend(
   $forest-ID as xs:unsignedLong*
) as empty-sequence()

Summary

Suspend database replication with the specified forest IDs.

Parameters
forest-ID forest IDs.

Required Privileges

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

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

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

Usage Notes

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

Example

xdmp:forest-database-replication-suspend(98394839084390843)
=> ()

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