MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / checkSchemaAgreement

Method checkSchemaAgreement

lib/metadata/index.js:819–821  ·  view source on GitHub ↗

* Checks whether hosts that are currently up agree on the schema definition. * * This method performs a one-time check only, without any form of retry; therefore * protocolOptions.maxSchemaAgreementWaitSeconds setting does not apply in this case. * * @param {

(callback)

Source from the content-addressed store, hash-verified

817 * the check could not be performed (for example, if the control connection is down).
818 */
819 checkSchemaAgreement(callback) {
820 return promiseUtils.optionalCallback(this._checkSchemaAgreement(), callback);
821 }
822
823 /**
824 * Async-only version of check schema agreement.

Calls 1

_checkSchemaAgreementMethod · 0.95

Tested by

no test coverage detected