Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update error code documentation (#17669) #1929

Open
wants to merge 13 commits into
base: prod
Choose a base branch
from
8 changes: 8 additions & 0 deletions content/en/docs/20.0/reference/errors/query-serving.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,14 @@ These error messages are internal to Vitess. If you are getting other errors fro
| VT09022 | Cannot send query to multiple shards. | Destination does not have exactly one shard: %v | 0 | |
| VT09023 | Unable to determine the shard for the given row. | could not map %v to a keyspace id | 0 | |
| VT09024 | Unable to determine the shard for the given row. | could not map %v to a unique keyspace id: %v | 0 | |
| VT09026 | | Recursive Common Table Expression '%s' should contain a UNION | 3573 | HY000 |
| VT09027 | | Recursive Common Table Expression '%s' can contain neither aggregation nor window functions in recursive query block | 3575 | HY000 |
| VT09028 | | In recursive query block of Recursive Common Table Expression '%s', the recursive table must neither be in the right argument of a LEFT JOIN, nor be forced to be non-first with join order hints | 3576 | HY000 |
| VT09029 | | In recursive query block of Recursive Common Table Expression %s, the recursive table must be referenced only once, and not in any subquery | 3577 | HY000 |
| VT09030 | | Recursive query aborted after 1000 iterations. | 3636 | HY000 |
| VT09031 | | Primary demotion is stalled | 0 | |
| VT10001 | Foreign key constraints are not allowed, see https://vitess.io/blog/2021-06-15-online-ddl-why-no-fk/. | foreign key constraints are not allowed | 0 | |
| VT10002 | The distributed transaction cannot be committed. A rollback decision is taken. | atomic distributed transaction not allowed: %s | 0 | |
| VT12001 | This statement is unsupported by Vitess. Please rewrite your query to use supported syntax. | unsupported: %s | 0 | |
| VT12002 | Vitess does not support cross shard foreign keys. | unsupported: cross-shard foreign keys | 0 | |
| VT13001 | This error should not happen and is a bug. Please file an issue on GitHub: https://github.com/vitessio/vitess/issues/new/choose. | [BUG] %s | 0 | |
Expand All @@ -89,6 +96,7 @@ These error messages are internal to Vitess. If you are getting other errors fro
| VT14003 | No connection for the given tablet. | no connection for tablet %v | 0 | |
| VT14004 | The specified keyspace could not be found. | cannot find keyspace for: %s | 0 | |
| VT14005 | Failed to read sidecar database identifier. | cannot lookup sidecar database for keyspace: %s | 0 | |
| VT15001 | The opened transaction should be closed by the application and re-tried. | transient error, please retry the transaction: %s | | |
<!-- end -->

## Old Errors
Expand Down