Loading TOC...

MarkLogic Server 11.0 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()

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