-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: convert ReplicaUnavailableError to SQL error #74502
Copy link
Copy link
Open
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-quick-winLikely to be a quick win for someone experienced.Likely to be a quick win for someone experienced.T-sql-queriesSQL Queries TeamSQL Queries Team
Description
Part of #33007.
In #74500 we propose adding structure to the errors returned from unavailable Replicas on fail-fast. Fail-fast errors will be marked with a structured ReplicaUnavailableError containing (at least one) key span for which the surrounding Replica failed fast due to an open circuit breaker. These spans can be converted to SQL table descriptors and a descriptive message (and perhaps error code) should be emitted to users, and should be documented as well.
Jira issue: CRDB-12120
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-quick-winLikely to be a quick win for someone experienced.Likely to be a quick win for someone experienced.T-sql-queriesSQL Queries TeamSQL Queries Team
Type
Projects
Status
Triage