Loading TOC...

admin.canCommitUpgrade

admin.canCommitUpgrade() as Boolean

Summary

This function returns true if the cluster is ready to commit the upgrade, returns false otherwise.

Required Privileges

http://marklogic.com/xdmp/privileges/admin/cluster

Example

const admin = require('/MarkLogic/admin.xqy');
  admin.canCommitUpgrade()

 //returns true if the cluster is ready to commit the upgrade 
     

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