Raised when coordinator determines that a request cannot be executed because there are not enough replicas. In this scenario, the request is not sent to the nodes at all.

Note
This error can be handled by a Retry::Policy to determine the desired outcome.
See Also:

Inherits

StandardError

Includes

Methods

consistency

Consistency level that triggered the error.

Returns:
Type Details
Symbol the original consistency level for the request, one of CONSISTENCIES

required

Returns the number of replicas required to achieve requested consistency level

Returns:
Type Details
Integer the number of replicas required to achieve requested consistency level

alive

Returns the number of replicas available for the request

Returns:
Type Details
Integer the number of replicas available for the request