Loading TOC...

xdmp.forestOpenReplica

xdmp.forestOpenReplica(
   $forestIDs as String[]
) as Sequence

Summary

Returns the forest ID for each specified forest or for each forest's replica if the forest is currently experiencing a local disk failover.

Parameters
$forestIDs The IDs of the forests that may have failed over.

Example

xdmp.forestStatus(
  xdmp.forestOpenReplica(
    xdmp.databaseForests(xdmp.database("Documents"))));

=> returns the status for each active and open forest in the Documents
   database, whether the forests are masters or replicas

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy