Click or drag to resize

ExecutionInfoIsSchemaInAgreement Property

After a successful schema-altering query (ex: creating a table), the driver will check if the cluster's nodes agree on the new schema version. If not, it will keep retrying for a given delay (configurable via WithMaxSchemaAgreementWaitSeconds(Int32)).

If this method returns

false
, clients can call CheckSchemaAgreementAsync later to perform the check manually.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public bool IsSchemaInAgreement { get; }

Property Value

Type: Boolean
Whether the cluster had reached schema agreement after the execution of this query.

Return Value

Type: Boolean
Whether the cluster reached schema agreement, or
true
for a non schema-altering statement.
Remarks
Note that the schema agreement check is only performed for schema-altering queries For other query types, this method will always return
true
.
See Also