Skip to content

Commit

Permalink
Merge pull request #839 from pingcap/winkyao/add_error_code
Browse files Browse the repository at this point in the history
sql: add 8003 error code description
  • Loading branch information
lilin90 committed Aug 27, 2018
2 parents 6d67533 + 0fe8c65 commit 7c849bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/error.md
Expand Up @@ -15,6 +15,7 @@ TiDB 兼容 MySQL 的错误码,在大多数情况下,返回和 MySQL 一样
| --------------------- | -------------------------------------------------- |
| 8001 | 请求使用的内存超过 TiDB 内存使用的阈值限制 |
| 8002 | 带有 `SELECT FOR UPDATE` 语句的事务,在遇到写入冲突时,为保证一致性无法进行重试,事务将进行回滚并返回该错误 |
| 8003 | `ADMIN CHECK TABLE` 命令在遇到行数据跟索引不一致的时候返回该错误 |
| 9001 | 请求 PD 超时,请检查 PD Server 状态/监控/日志以及 TiDB Server 与 PD Server 之间的网络 |
| 9002 | 请求 TiKV 超时,请检查 TiKV Server 状态/监控/日志以及 TiDB Server 与 TiKV Server 之间的网络 |
| 9003 | TiKV 操作繁忙,一般出现在数据库负载比较高时,请检查 TiKV Server 状态/监控/日志 |
Expand Down

0 comments on commit 7c849bf

Please sign in to comment.