MarkLogic Server 11.0 Product Documentation
admin:can-commit-upgrade

admin:can-commit-upgrade() as xs: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


xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin"
       at "/MarkLogic/admin.xqy";

return
  admin:can-commit-upgrade()

(: returns true if the cluster is ready to commit the upgrade :)
     
Powered by MarkLogic Server | Terms of Use | Privacy Policy