Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp.clusterQuorumExists

xdmp.clusterQuorumExists(
   [id as (Number|String)]
) as 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.clusterQuorumExists();
=> fn.true()

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