[YCQL] Improve error code sent from the server to the driver #23355
Labels
area/ycql
Yugabyte CQL (YCQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-12280
Description
Came up in a customer incident. Right now, the CQL server doesn't send the appropriate error codes to the driver in some scenarios.
For example, it never sends the
READ_TIMEOUT
andWRITE_TIMEOUT
errors even in case of timeouts.The list of errors that we send from the server:
When we run out of cql processors
Soft memory limit hit
Shutdown
We never send the following error codes:
Investigate and see if there are scenarios where a different error code can be sent. It'll help the driver better guage the issue and retry if needed.
Issue Type
kind/enhancement
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: