
admin.canCommitUpgrade() as Boolean
     This function returns true if the cluster is ready to commit
	 the upgrade, returns false otherwise.
  
http://marklogic.com/xdmp/privileges/admin/clusterconst admin = require('/MarkLogic/admin.xqy');
  admin.canCommitUpgrade()
 //returns true if the cluster is ready to commit the upgrade 
     
  
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.