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 
     
Powered by MarkLogic Server | Terms of Use | Privacy Policy