MarkLogic 12 EA 1 Product Documentation
xdmp:cluster-quorum-exists

xdmp:cluster-quorum-exists(
   [$id as xs:unsignedLong]
) as xs:boolean

Summary

Returns whether there exists a quorum in the specified cluster. If no cluster ID is specified, return whether there exists a quorum in the current cluster.

Parameters
id The ID of the cluster. The default value is the ID of the current cluster.

Example

xdmp:cluster-quorum-exists()
=> fn:true()
Powered by MarkLogic Server | Terms of Use | Privacy Policy