Loading TOC...

MarkLogic 12 EA 2 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 :)
     

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