Click or drag to resize
ReadFailureException Properties

The ReadFailureException type exposes the following members.

Properties
  NameDescription
Public propertyConsistencyLevel
Gets the consistency level of the operation
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyFailures
Gets the number of nodes that experienced a failure while executing the request.
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public propertyHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertyReasons
Gets a failure reason code for each node that failed.

On older protocol versions, an empty map and only the number of Failures is provided.

0x0000Unknown reason0x0001Too many tombstones read (as controlled by the yaml tombstone_failure_threshold option)0x0002The query uses an index but that index is not available (built) on the queried endpoint.0x0003The query writes on some CDC enabled tables, but the CDC space is full (CDC data isn't consumed fast enough). Note that this can only happen in Write_failure in practice, but the reasons are shared between both exception.0x0004Some failures (one or more) were reported to the replica "leading" a counter write. The actual error didn't occur on the node that sent this failure, it is is simply the node reporting it due to how counter writes work; the initial reason for the failure should have been logged on the actual replica on which the problem occured).0x0005The table used by the query was not found on at least one of the replica. This strongly suggest a query was done on either a newly created or newly dropped table with having waited for schema agreement first.0x0006The keyspace used by the query was not found on at least one replica. Same likely cause as for tables above.
Public propertyReceivedAcknowledgements
Gets the number of replica that had acknowledged/responded to the operation
Public propertyRequiredAcknowledgements
Gets the minimum number of replica acknowledgements/responses that were required to fulfill the operation.
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Public propertyWasDataRetrieved
Top
See Also