class Cassandra::Errors::UnavailableError
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.
Inherits
StandardError
Includes
Methods
consistency
Consistency level that triggered the error.
required
Returns the number of replicas required to achieve requested consistency level
alive
Returns the number of replicas available for the request