homework-jianmu/docs/zh/14-reference/09-error-code.md

544 lines
98 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_label: 错误码
title: TDengine 错误码
description: TDengine 服务端的错误码列表和详细说明
---
本文中详细列举了在使用 TDengine 客户端可能得到的服务端错误码以及所要采取的相应动作。所有语言的连接器在使用原生连接方式时也会将这些错误码返回给连接器的调用者。
## rpc
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| 0x8000000B | 无法正常收发请求 | 1. 网络不通 2. 多次重试、依然不能执行REQ | 1. 检查网络 2. 分析日志,具体原因比较复杂 |
| 0x80000013 | 客户端和服务端之间的时间时间相差太大, 默认900s | 1. 客户端和服务端不在同一个时区 2. 客户端和服务端在同一个时区,但是两者的时间不同步、相差太大 | 1. 调整到同一个时区 2. 校准客户端和服务端的时间 |
| 0x80000015 | 无法解析FQDN | 设置了无效的fqdn | 检查fqdn 的设置 |
| 0x80000017 | 当前端口被占用 | 端口P已经被某个服务占用的情况下新启的服务依然尝试绑定端口P | 1. 改动新服务的服务端口 2. 杀死之前占用端口的服务 |
| 0x80000018 | 由于网络抖动/ REQ 请求时间过长导致系统主动摘掉REQ 所使用的conn | 1. 网络抖动 2. REQ 请求时间过长大于900s | 1. 设置系统的最大超时时长 2. 检查REQ的请求时长 |
| 0x80000019 | 暂时没有用到这个错误码 | | |
| 0x80000020 | 多次重试之后所有dnode 依然都链接不上 | 1. 所有的节点都挂了 2. 有节点挂了但是存活的节点都不是master 节点 | 1. 查看taosd 的状态、分析taosd 挂掉的原因或者分析存活的taosd 为什么不是主 |
| 0x80000021 | 多次重试之后所有dnode 依然都链接不上 | 1. 网络异常 2. req请求时间太长服务端可能发生死锁等问题。系统自己断开了链接 | 1. 检查网络 2. 检查req 的执行时间 |
| 0x80000022 | 达到了可用链接上线。 | 1. 并发太高、占用链接已经到达上线。 2. 服务端的BUG导致conn 一直不释放, | 1. 提高tsNumOfRpcSessions这个值。 2. tsTimeToGetAvailableConn 3. 分析服务端不释放的conn 的原因 |
## common
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | --------------------------------- | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| 0x80000100 | Operation not supported | 1. 操作不被支持、不允许的场景 | 1. 检查操作是否有误,确认该功能是否被支持 |
| 0x80000102 | Out of Memory | 1. 客户端或服务端内存分配失败的场景 | 1. 检查客户端、服务端内存是否充足 |
| 0x80000104 | Data file corrupted | 1. 存储数据文件损坏 2. udf文件无法创建 | 1. 联系涛思客户支持 2. 确认服务端对临时目录有读写创建文件权限 |
| 0x80000106 | too many Ref Objs | 无可用ref资源 | 保留现场和日志github上报issue |
| 0x80000107 | Ref ID is removed | 引用的ref资源已经释放 | 保留现场和日志github上报issue |
| 0x80000108 | Invalid Ref ID | 无效ref ID | 保留现场和日志github上报issue |
| 0x8000010A | Ref is not there | ref信息不存在 | 保留现场和日志github上报issue |
| 0x80000110 | | | |
| 0x80000111 | Action in progress | 操作进行中 | 1. 等待操作完成 2. 根据需要取消操作 3. 当超出合理时间仍然未完成可保留现场和日志,或联系客户支持 |
| 0x80000112 | Out of range | 配置参数超出允许值范围 | 更改参数 |
| 0x80000115 | Invalid message | 消息错误 | 1. 检查是否存在节点间版本不一致 2. 保留现场和日志github上报issue |
| 0x80000116 | Invalid message len | 消息长度错误 | 1. 检查是否存在节点间版本不一致 2. 保留现场和日志github上报issue |
| 0x80000117 | Invalid pointer | 无效指针 | 保留现场和日志github上报issue |
| 0x80000118 | Invalid parameters | 无效参数 | 保留现场和日志github上报issue |
| 0x80000119 | Invalid config option | 无效配置 | 保留现场和日志github上报issue |
| 0x8000011A | Invalid option | 无效选项 | 保留现场和日志github上报issue |
| 0x8000011B | Invalid json format | JSON格式错误 | 保留现场和日志github上报issue |
| 0x8000011C | Invalid version number | 无效版本格式 | 保留现场和日志github上报issue |
| 0x8000011D | Invalid version string | 无效版本格式 | 保留现场和日志github上报issue |
| 0x8000011E | Version not compatible | 节点间版本不兼容 | 检查各节点版本(包括服务端与客户端),确保节点间版本一致或兼容 |
| 0x8000011F | Checksum error | 文件checksum校验失败 | 保留现场和日志github上报issue |
| 0x80000120 | Failed to compress msg | 压缩失败 | 保留现场和日志github上报issue |
| 0x80000121 | Message not processed | 消息未被正确处理 | 保留现场和日志github上报issue |
| 0x80000122 | Config not found | 未找到配置项 | 保留现场和日志github上报issue |
| 0x80000123 | Repeat initialization | 重复初始化 | 保留现场和日志github上报issue |
| 0x80000124 | Cannot add duplicate keys to hash | 添加重复key数据到哈希表中 | 保留现场和日志github上报issue |
| 0x80000125 | Retry needed | 需要应用进行重试 | 应用按照API使用规范进行重试 |
| 0x80000126 | Out of memory in rpc queue | rpc消息队列内存使用达到上限 | 1. 检查确认系统负载是否过大 2. 如必要通过配置rpcQueueMemoryAllowed增大rpc消息队列内存上限 3. 如果问题还未解决保留现场和日志github上报issue |
| 0x80000127 | Invalid timestamp format | 时间戳格式错误 | 检查并确认输入的时间戳格式正确 |
| 0x80000128 | Msg decode error | 消息解码错误 | 保留现场和日志github上报issue |
| 0x8000012A | Not found | 未找到内部缓存信息 | 保留现场和日志github上报issue |
| 0x8000012B | Out of disk space | 磁盘空间不足 | 1. 检查并确保数据目录、临时文件夹目录有足够磁盘空间 2. 定期检查维护上述目录,确保空间足够 |
| 0x80000130 | Database is starting up | 数据库启动中,暂无法提供服务 | 检查数据库状态,待系统完成启动后继续或重试 |
| 0x80000131 | Database is closing down | 数据库正在或已经关闭,无法提供服务 | 检查数据库状态,确保系统工作在正常状态 |
| 0x80000132 | Invalid data format | 数据格式错误 | 1. 保留现场和日志github上报issue 2. 联系涛思客户支持 |
| 0x80000133 | Invalid operation | 无效的或不支持的操作 | 1. 修改确认当前操作为合法有效支持的操作,检查参数有效性 2. 如果问题还未解决保留现场和日志github上报issue |
| 0x80000134 | Invalid value | 无效值 | 保留现场和日志github上报issue |
| 0x80000135 | Invalid fqdn | 无效FQDN | 检查配置或输入的FQDN值是否正确 |
## tsc
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | --------------------------- | ---------------------------- | -------------------------------------------------------------------------- |
| 0x80000207 | Invalid user name | 数据库用户名不合法 | 检查数据库用户名是否正确 |
| 0x80000208 | Invalid password | 数据库密码不合法 | 检查数据库密码是否正确 |
| 0x80000209 | Database name too long | 数据库名称不合法 | 检查数据库名称是否正确 |
| 0x8000020A | Table name too long | 表名不合法 | 检查表名是否正确 |
| 0x8000020F | Query terminated | 查询被中止 | 检查是否有用户中止了查询 |
| 0x80000213 | Disconnected from server | 连接已中断 | 检查连接是否被人为中断或客户端正在退出 |
| 0x80000216 | Syntax error in SQL | SQL语法错误 | 检查SQL语句并修正错误 |
| 0x80000219 | SQL statement too long | SQL长度超出限制 | 检查SQL语句并修正错误 |
| 0x8000021A | File is empty | 文件内容为空 | 检查输入文件内容 |
| 0x8000021F | Invalid column length | 列长度错误 | 保留现场和日志github上报issue |
| 0x80000222 | Invalid JSON data type | JSON数据类型错误 | 检查输入JSON内容 |
| 0x80000224 | Value out of range | 数据大小超过类型范围 | 检查输入的数据值 |
| 0x80000229 | Invalid tsc input | API输入错误 | 检查应用调用API时传递的参数 |
| 0x8000022A | Stmt API usage error | STMT API使用错误 | 检查STMT API调用的顺序、适用场景、错误处理 |
| 0x8000022B | Stmt table name not set | STMT未正确设置table name | 检查是否调用了设置table name接口 |
| 0x8000022D | Query killed | 查询被中止 | 检查是否有用户中止了查询 |
| 0x8000022E | No available execution node | 没有可用的查询执行节点 | 检查当前query policy配置如果需要有Qnode参与确保系统中存在可用的Qnode节点 |
| 0x8000022F | Table is not a super table | 当前语句中的表名不是超级表 | 检查当前语句中所用表名是否是超级表 |
| 0x80000230 | Stmt cache error | STMT内部缓存出错 | 保留现场和日志github上报issue |
| 0x80000231 | Tsc internal error | TSC内部错误 | 保留现场和日志github上报issue |
## mnode
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | -------------------------------------------------------------------------------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| 0x80000303 | Insufficient privilege for operation | 无权限 | 赋权 |
| 0x8000030B | Data expired | 内部错误 | 上报issue |
| 0x8000030C | Invalid query id | 内部错误 | 上报issue |
| 0x8000030E | Invalid connection id | 内部错误 | 上报issue |
| 0x80000315 | User is disabled | 该用户不可用 | 赋权 |
| 0x80000320 | Object already there | 内部错误 | 上报issue |
| 0x80000322 | Invalid table type | 内部错误 | 上报issue |
| 0x80000323 | Object not there | 内部错误 | 上报issue |
| 0x80000326 | Invalid action type | 内部错误 | 上报issue |
| 0x80000328 | Invalid raw data version | 内部错误 | 上报issue |
| 0x80000329 | Invalid raw data len | 内部错误 | 上报issue |
| 0x8000032A | Invalid raw data content | 内部错误 | 上报issue |
| 0x8000032C | Object is creating | 内部错误 | 上报issue |
| 0x8000032D | Object is dropping | 内部错误 | 上报issue |
| 0x80000330 | Dnode already exists | 内部错误 | 上报issue |
| 0x80000331 | Dnode does not exist | 内部错误 | 上报issue |
| 0x80000332 | Vgroup does not exist | 内部错误 | 上报issue |
| 0x80000333 | Cannot drop mnode which is leader | 操作节点为leader | 确认操作是否正确 |
| 0x80000334 | Out of dnodes | dnode节点数量不够 | 增加dnode节点 |
| 0x80000335 | Cluster cfg inconsistent | 配置不一致 | 检查dnode节点与mnode节点配置是否一致。检查方式1.节点启动时,在日志中输出 2.使用show variables |
| 0x8000033B | Cluster id not match | 节点配置数据不一致 | 检查各节点data/dnode/dnodes.json文件中的clusterid |
| 0x80000340 | Account already exists | (仅企业版)内部错误 | 上报issue |
| 0x80000342 | Invalid account options | (仅企业版)该操作不支持 | 确认操作是否正确 |
| 0x80000344 | Invalid account | 账户不存在 | 确认账户是否正确 |
| 0x80000350 | User already exists | Create user, 重复创建 | 确认操作是否正确 |
| 0x80000351 | Invalid user | 用户不存在 | 确认操作是否正确 |
| 0x80000352 | Invalid user format | 格式不正确 | 确认操作是否正确 |
| 0x80000353 | Invalid password format | 格式不正确 | 确认操作是否正确 |
| 0x80000354 | Can not get user from conn | 内部错误 | 上报issue |
| 0x80000355 | Too many users | (仅企业版)用户数量超限 | 调整配置 |
| 0x80000357 | Authentication failure | 密码不正确 | 确认操作是否正确 |
| 0x80000358 | User not available | 用户不存在 | 确认操作是否正确 |
| 0x80000360 | STable already exists | 内部错误 | 上报issue |
| 0x80000361 | STable not exist | 内部错误 | 上报issue |
| 0x80000364 | Too many tags | tag数量太多 | 不能修改,代码级别限制 |
| 0x80000365 | Too many columns | columns数量太多 | 不能修改,代码级别限制 |
| 0x80000369 | Tag already exists | tag已存在 | 确认操作是否正确 |
| 0x8000036A | Tag does not exist | tag不存在 | 确认操作是否正确 |
| 0x8000036B | Column already exists | Column 已存在 | 确认操作是否正确 |
| 0x8000036C | Column does not exist | Column 不存在 | 确认操作是否正确 |
| 0x8000036E | Invalid stable options | 内部错误 | 上报issue |
| 0x8000036F | Invalid row bytes | 内部错误 | 上报issue |
| 0x80000370 | Invalid func name | name长度错误 | 确认操作是否正确 |
| 0x80000372 | Invalid func code | code长度错误 | 确认操作是否正确 |
| 0x80000373 | Func already exists | Func已存在 | 确认操作是否正确 |
| 0x80000374 | Func not exists | Func不存在 | 确认操作是否正确 |
| 0x80000375 | Invalid func bufSize | bufSize长度错误或者超过限制 | 确认操作是否正确 |
| 0x80000378 | Invalid func comment | 长度错误,或者超过限制 | 确认操作是否正确 |
| 0x80000379 | Invalid func retrieve msg | 长度错误,或者超过限制 | 确认操作是否正确 |
| 0x80000380 | Database not specified or available | 未指定database | 使用 use database; |
| 0x80000381 | Database already exists | Database已存在 | 确认操作是否正确 |
| 0x80000382 | Invalid database options | 内部错误 | 上报issue |
| 0x80000383 | Invalid database name | 长度错误 | 确认操作是否正确 |
| 0x80000385 | Too many databases for account | 数量超限 | 调整配置 |
| 0x80000386 | Database in dropping status | 数据库正在被删除 | 重试长时间保持该状态上报issue |
| 0x80000388 | Database not exist | 不存在 | 确认操作是否正确 |
| 0x80000389 | Invalid database account | 内部错误 | 上报issue |
| 0x8000038A | Database options not changed | 操作无变化 | 确认操作是否正确 |
| 0x8000038B | Index not exist | 不存在 | 确认操作是否正确 |
| 0x80000396 | Database in creating status | 数据库正在被创建 | 重试 |
| 0x8000039A | Invalid system table name | 内部错误 | 上报issue |
| 0x800003A0 | Mnode already exists | 已存在 | 确认操作是否正确 |
| 0x800003A1 | Mnode not there | 已存在 | 确认操作是否正确 |
| 0x800003A2 | Qnode already exists | 已存在 | 确认操作是否正确 |
| 0x800003A3 | Qnode not there | 不存在 | 确认操作是否正确 |
| 0x800003A4 | Snode already exists | 已存在 | 确认操作是否正确 |
| 0x800003A5 | Snode not there | 不存在 | 确认操作是否正确 |
| 0x800003A8 | The replica of mnode cannot less than 1 | mnode少于1 | 操作不允许 |
| 0x800003A9 | The replica of mnode cannot exceed 3 | mnode多于1 | 操作不允许 |
| 0x800003B1 | No enough memory in dnode | 内存不足 | 调整配置 |
| 0x800003B3 | Invalid dnode end point | ep配置不正确 | 确认操作是否正确 |
| 0x800003B6 | Offline dnode exists | Dnode offline | 检查节点状态 |
| 0x800003B7 | Invalid vgroup replica | 内部错误 | 上报issue |
| 0x800003B8 | Dnode in creating status | 正在创建 | 重试 |
| 0x800003B9 | Dnode in dropping status | 正在删除 | 重试 |
| 0x800003C2 | Invalid stable alter options | 内部错误 | 上报issue |
| 0x800003C3 | STable option unchanged | 操作无变化 | 确认操作是否正确 |
| 0x800003C4 | Field used by topic | 被使用 | 确认操作是否正确 |
| 0x800003C5 | Database is single stable mode | 内部错误 | 上报issue |
| 0x800003C6 | Invalid schema version while alter stb | 内部错误 | 上报issue |
| 0x800003C7 | Invalid stable uid while alter stb | 内部错误 | 上报issue |
| 0x800003C8 | Field used by tsma | 被使用 | 确认操作是否正确 |
| 0x800003D1 | Transaction not exists | 不存在 | 确认操作是否正确 |
| 0x800003D2 | Invalid stage to kill | 事务处在不能被kill的节点比如 在commit阶段 | 等待事务结束如长时间不结束上报issue |
| 0x800003D3 | Conflict transaction not completed | 事务冲突,不能执行该操作 | 使用show transactions命令查看冲突的事务等待冲突事务结束如长时间不结束上报issue |
| 0x800003D4 | Transaction commitlog is null | 内部错误 | 上报issue |
| 0x800003D5 | Unable to establish connection While execute transaction and will continue in the background | 网络错误 | 检查网络是否正常 |
| 0x800003D6 | Last Transaction not finished | 内部错误 | 上报issue |
| 0x800003D7 | Sync timeout While execute transaction and will continue in the background | 内部错误 | 上报issue |
| 0x800003DF | Unknown transaction error | 内部错误 | 上报issue |
| 0x800003E0 | Topic already exists | 已存在 | 确认操作是否正确 |
| 0x800003E1 | Topic not exist | 不存在 | 确认操作是否正确 |
| 0x800003E3 | Invalid topic | 内部错误 | 上报issue |
| 0x800003E4 | Topic with invalid query | 内部错误 | 上报issue |
| 0x800003E5 | Topic with invalid option | 内部错误 | 上报issue |
| 0x800003E6 | Consumer not exist | 不存在 | 确认操作是否正确 |
| 0x800003E7 | Topic unchanged | 无变化 | 确认操作是否正确 |
| 0x800003E8 | Subcribe not exist | 不存在 | 确认操作是否正确 |
| 0x800003E9 | Offset not exist | 不存在 | 确认操作是否正确 |
| 0x800003EA | Consumer not ready | 内部错误 | 上报issue |
| 0x800003EB | Topic subscribed cannot be dropped | 被使用 | 确认操作是否正确 |
| 0x800003EC | Consumer group being used by some consumer | 被使用 | 确认操作是否正确 |
| 0x800003ED | Topic must be dropped first | 被使用 | 确认操作是否正确 |
| 0x800003EE | Invalid subscribe option | 内部错误 | 确认操作是否正确 |
| 0x800003EF | Topic being rebalanced | 操作中 | 重试 |
| 0x800003F0 | Stream already exists | 已存在 | 确认操作是否正确 |
| 0x800003F1 | Stream not exist | 不存在 | 确认操作是否正确 |
| 0x800003F2 | Invalid stream option | 内部错误 | 上报issue |
| 0x800003F3 | Stream must be dropped first | 被使用 | 确认操作是否正确 |
| 0x800003F5 | Stream temporarily does not support source db having replica > 1 | 超过限制 | 操作不被允许 |
| 0x800003F6 | Too many streams | 超过限制 | 不能修改,代码级别限制 |
| 0x800003F7 | Cannot write the same stable as other stream | 内部错误 | 上报issue |
| 0x80000480 | index already exists | 已存在 | 确认操作是否正确 |
| 0x80000481 | index not exist | 不存在 | 确认操作是否正确 |
| 0x80000482 | Invalid sma index option | 内部错误 | 上报issue |
| 0x80000483 | index already exists | 已存在 | 确认操作是否正确 |
| 0x80000484 | index not exist | 不存在 | 确认操作是否正确 |
## dnode
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ---------------------- | ---------------------------- | ------------------ |
| 0x80000408 | Dnode is offline | 不在线 | 检查节点状态 |
| 0x80000409 | Mnode already deployed | 已部署 | 确认操作是否正确 |
| 0x8000040A | Mnode not found | 内部错误 | 上报issue |
| 0x8000040B | Mnode not deployed | 内部错误 | 上报issue |
| 0x8000040C | Qnode already deployed | 已部署 | 确认操作是否正确 |
| 0x8000040D | Qnode not found | 内部错误 | 上报issue |
| 0x8000040E | Qnode not deployed | 内部错误 | 上报issue |
| 0x8000040F | Snode already deployed | 已部署 | 确认操作是否正确 |
| 0x80000410 | Snode not found | 内部错误 | 上报issue |
| 0x80000411 | Snode not deployed | 已部署 | 确认操作是否正确 |
## vnode
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | -------------------------------------------------- | ------------------------------ | ------------------ |
| 0x80000503 | Invalid vgroup ID | 老客户端未更新 cache内部错误 | 上报问题 |
| 0x80000512 | No writing previlege | 无写权限 | 寻求授权 |
| 0x80000520 | Vnode does not exist | 内部错误 | 上报问题 |
| 0x80000521 | Vnode already exists | 内部错误 | 上报问题 |
| 0x80000522 | Hash value of table is not in the vnode hash range | 表不属于 vnode | 上报问题 |
| 0x80000524 | Invalid table operation | 表非法操作 | 上报问题 |
| 0x80000525 | Column already exists | 修改表是列已存在 | 上报问题 |
| 0x80000526 | Column does not exists | 修改表时,表不存在 | 上报问题 |
| 0x80000527 | Column is subscribed | 列被订阅,不能操作 | 上报问题 |
| 0x80000529 | Vnode is stopped | Vnode 已经关闭 | 上报问题 |
| 0x80000530 | Duplicate write request | 重复写入请求,内部错误 | 上报问题 |
| 0x80000531 | Vnode query is busy | 查询忙碌 | 上报问题 |
## tsdb
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ----------------------------------------- | ------------------------------------------ | ------------------------------ |
| 0x80000600 | Invalid table ID to write | 写表不存在 | 重启客户端 |
| 0x80000602 | Invalid table schema version | 表的 schema 版本号过期,内部错误 | 无需处理,内部自动更新 |
| 0x80000603 | Table already exists | 表已存在 | 上报问题 |
| 0x80000604 | Invalid configuration | 内部错误 | 上报问题 |
| 0x80000605 | Init failed | 启动失败 | 上报问题 |
| 0x8000060B | Timestamp is out of range | 写入时间范围越界 | 上报问题,检查应用写入时间逻辑 |
| 0x8000060C | Submit message is messed up | 消息错误,可能由于客户端和服务端不兼容导致 | 上报问题 |
| 0x80000618 | Table does not exists | 表已经存在 | 上报问题 |
| 0x80000619 | Super table already exists | 超级表已经存在 | 上报问题 |
| 0x8000061A | Super table does not exist | 超级表不存在 | 上报问题 |
| 0x8000061B | Invalid table schema version | 同 TSDB_CODE_TDB_IVD_TB_SCHEMA_VERSION | 上报问题 |
| 0x8000061D | Table already exists in other super table | 表已存在,但属于其他超级表 | 检查写入应用逻辑 |
## query
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ------------------------------------ | ------------------------------------------ | ------------------------------------------------------ |
| 0x80000700 | Invalid query handle | 当前查询句柄不存在 | 保留现场和日志github上报issue |
| 0x80000709 | Multiple retrieval of this query | 当前子查询已经正在进行中 | 保留现场和日志github上报issue |
| 0x8000070A | Too many groups/time window in query | 当前查询结果中的分组或窗口个数超过限制个数 | 调整查询语句,确保查询条件中的分组和窗口个数不超过上限 |
| 0x8000070D | System error | 底层系统API返回错误 | 保留现场和日志github上报issue |
| 0x80000720 | Scheduler not exist | 当前子查询对应的客户端信息不存在 | 保留现场和日志github上报issue |
| 0x80000721 | Task not exist | 子查询不存在 | 保留现场和日志github上报issue |
| 0x80000722 | Task already exist | 子查询已经存在 | 保留现场和日志github上报issue |
| 0x80000729 | Task message error | 查询消息错误 | 保留现场和日志github上报issue |
| 0x8000072B | Task status error | 子查询状态错误 | 保留现场和日志github上报issue |
| 0x8000072F | Job not exist | 查询JOB已经不存在 | 保留现场和日志github上报issue |
## grant
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ----------------------------------- | ---------------------------- | -------------------------------- |
| 0x80000800 | License expired | 授权时间过期 | 检查授权信息,联系交付更新授权码 |
| 0x80000801 | DNode creation limited by license | Dnode 数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
| 0x80000802 | Account creation limited by license | 账号数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
| 0x80000803 | Time series limited by license | 测点数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
| 0x80000804 | DB creation limited by license | 数据库数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
| 0x80000805 | User creation limited by license | 用户数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
| 0x80000806 | Conn creation limited by license | 连接数量超过授权限制 | 暂未限制,联系交付进行检查 |
| 0x80000807 | Stream creation limited by license | 流数量超过授权限制 | 暂未限制,联系交付进行检查 |
| 0x80000808 | Write speed limited by license | 写入速度超过授权限制 | 暂未限制,联系交付进行检查 |
| 0x80000809 | Storage capacity limited by license | 存储空间超过授权限制 | 检查授权信息,联系交付更新授权码 |
| 0x8000080A | Query time limited by license | 查询次数超过授权限制 | 暂未限制,联系交付进行检查 |
| 0x8000080B | CPU cores limited by license | CPU 核数超过授权限制 | 暂未限制,联系交付进行检查 |
| 0x8000080C | STable creation limited by license | 超级表数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
| 0x8000080D | Table creation limited by license | 子表/普通表数量超过授权限制 | 检查授权信息,联系交付更新授权码 |
## sync
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| 0x80000903 | Sync timeout | 场景1发生了切主旧主节点上已经开始协商但尚未达成一致的请求将超时。 场景2从节点响应超时导致协商超时。 | 检查集群状态例如show vgroups查看服务端日志以及服务端节点之间的网络状况。 |
| 0x8000090C | Sync leader is unreachable | 场景1选主过程中 场景2客户端请求路由到了从节点且重定向失败 场景3客户端或服务端网络配置错误 | 检查集群状态、网络配置、应用程序访问状态等。查看服务端日志,以及服务端节点之间的网络状况。 |
| 0x8000090F | Sync new config error | 成员变更配置错误 | 内部错误,用户无法干预 |
| 0x80000911 | Sync not ready to propose | 场景1恢复未完成 | 检查集群状态例如show vgroups。查看服务端日志以及服务端节点之间的网络状况。 |
| 0x80000914 | Sync leader is restoring | 场景1发生了切主选主后日志重演中 | 检查集群状态例如show vgroups。查看服务端日志观察恢复进度。 |
| 0x80000915 | Sync invalid snapshot msg | 快照复制消息错误 | 服务端内部错误 |
| 0x80000916 | Sync buffer is full | 场景1客户端请求并发数特别大超过了服务端处理能力或者因为网络和CPU资源严重不足或者网络连接问题等。 | 检查集群状态系统资源使用率例如磁盘IO、CPU、网络通信等以及节点之间网络连接状况。 |
| 0x80000917 | Sync write stall | 场景1状态机执行被阻塞例如因系统繁忙磁盘IO资源严重不足或落盘失败等 | 检查集群状态系统资源使用率例如磁盘IO和CPU等以及是否发生了落盘失败等。 |
| 0x80000918 | Sync negotiation win is full | 场景1客户端请求并发数特别大超过了服务端处理能力或者因为网络和CPU资源严重不足或者网络连接问题等。 | 检查集群状态系统资源使用率例如磁盘IO、CPU、网络通信等以及节点之间网络连接状况。 |
| 0x800009FF | Sync internal error | 其它内部错误 | 检查集群状态例如show vgroups |
## tq
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ------------------------- | --------------------------------------------------------------- | -------------------------------------- |
| 0x80000A0C | TQ table schema not found | 消费数据时表不存在 | 内部错误,不透传给用户 |
| 0x80000A0D | TQ no committed offset | 消费时设置offset reset = none并且server端没有之前消费的offset | 设置offset reset为earliest 或者 latest |
## wal
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | --------------------- | -------------------------------- | ------------------ |
| 0x80001001 | WAL file is corrupted | WAL文件损坏 | 服务端内部错误 |
| 0x80001003 | WAL invalid version | 请求日志版本,超过了当前日志范围 | 服务端内部错误 |
| 0x80001005 | WAL log not exist | 请求日志记录,不存在 | 服务端内部错误 |
| 0x80001006 | WAL checksum mismatch | 场景发生了WAL文件损坏 | 服务端内部错误 |
| 0x80001007 | WAL log incomplete | 日志文件发生了丢失或损坏 | 服务端内部错误 |
## tfs
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | -------------------------------- | ----------------------------------- | ---------------------------------------- |
| 0x80002201 | TFS invalid configuration | 多级存储配置错误 | 检查配置是否正确 |
| 0x80002202 | TFS too many disks on one level | 多级存储配置错误 | 检查一级硬盘上的配置个数是否超过最大限制 |
| 0x80002203 | TFS duplicate primary mount disk | 多级存储配置错误 | 检查配置是否正确 |
| 0x80002204 | TFS no primary mount disk | 多级存储配置错误 | 检查配置是否正确 |
| 0x80002205 | TFS no disk mount on tire | 多级存储配置错误 | 检查配置是否正确 |
| 0x80002208 | No disk available on a tier. | TFS内部错误多发生在硬盘满的场景下 | 增加硬盘,扩充容量 |
## catalog
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | -------------------------------- | ---------------------------- | -------------------------------- |
| 0x80002400 | catalog internal error | catalog内部错误 | 保留现场和日志github上报issue |
| 0x80002401 | catalog invalid input parameters | catalog输入参数错误 | 保留现场和日志github上报issue |
| 0x80002402 | catalog is not ready | catalog未初始化完成 | 保留现场和日志github上报issue |
| 0x80002403 | catalog system error | catalog系统错误 | 保留现场和日志github上报issue |
| 0x80002404 | Database is dropped | db缓存被删除 | 保留现场和日志github上报issue |
| 0x80002405 | catalog is out of service | catalog模块已经退出 | 保留现场和日志github上报issue |
| 0x80002550 | Invalid msg order | 消息顺序错误 | 保留现场和日志github上报issue |
| 0x80002501 | Job status error | 任务状态错误 | 保留现场和日志github上报issue |
| 0x80002502 | scheduler internal error | scheduler内部错误 | 保留现场和日志github上报issue |
| 0x80002504 | Task timeout | 子任务超时 | 保留现场和日志github上报issue |
| 0x80002505 | Job is dropping | 任务正在或已经被取消 | 检查是否有手动或应用中断当前任务 |
## parser
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------- | ------------------------------------- |
| 0x80002600 | syntax error near | SQL语法错误 | 检查并修正SQL语句 |
| 0x80002601 | Incomplete SQL statement | 不完整的SQL语句 | 检查并修正SQL语句 |
| 0x80002602 | Invalid column name | 不合法或不存在的列名 | 检查并修正SQL语句 |
| 0x80002603 | Table does not exist | 表不存在 | 检查并确认SQL语句中的表是否存在 |
| 0x80002604 | Column ambiguously defined | 列名(别名)重复定义 | 检查并修正SQL语句 |
| 0x80002605 | Invalid value type | 常量值非法 | 检查并修正SQL语句 |
| 0x80002608 | There mustn't be aggregation | 聚合函数出现在非法子句中 | 检查并修正SQL语句 |
| 0x80002609 | ORDER BY item must be the number of a SELECT-list expression | Order by指定的位置不合法 | 检查并修正SQL语句 |
| 0x8000260A | Not a GROUP BY expression | 非法group by语句 | 检查并修正SQL语句 |
| 0x8000260B | Not SELECTed expression | 非法表达式 | 检查并修正SQL语句 |
| 0x8000260C | Not a single-group group function | 非法使用列与函数 | 检查并修正SQL语句 |
| 0x8000260D | Tags number not matched | tag列个数不匹配 | 检查并修正SQL语句 |
| 0x8000260E | Invalid tag name | 无效或不存在的tag名 | 检查并修正SQL语句 |
| 0x80002610 | Value is too long | 值长度超出限制 | 检查并修正SQL语句或API参数 |
| 0x80002611 | Password can not be empty | 密码为空 | 使用合法的密码 |
| 0x80002612 | Port should be an integer that is less than 65535 and greater than 0 | 端口号非法 | 检查并修正端口号 |
| 0x80002613 | Endpoint should be in the format of 'fqdn:port' | 地址格式错误 | 检查并修正地址信息 |
| 0x80002614 | This statement is no longer supported | 功能已经废弃 | 参考功能文档说明 |
| 0x80002615 | Interval too small | interval值超过允许的最小值 | 更改INTERVAL值 |
| 0x80002616 | Database not specified | 未指定数据库 | 指定当前操作的数据库 |
| 0x80002617 | Invalid identifier name | ID非法或长度不合法 | 检查语句中相关的库、表、列、TAG等名称 |
| 0x80002618 | Corresponding super table not in this db | 超级表不存在 | 检查库中是否存在对应的超级表 |
| 0x80002619 | Invalid database option | 数据库选项值非法 | 检查并修正数据库选项值 |
| 0x8000261A | Invalid table option | 表选项值非法 | 检查并修正数据表选项值 |
| 0x80002624 | GROUP BY and WINDOW-clause can't be used together | Group by和窗口不能同时使用 | 检查并修正SQL语句 |
| 0x80002627 | Aggregate functions do not support nesting | 函数不支持嵌套使用 | 检查并修正SQL语句 |
| 0x80002628 | Only support STATE_WINDOW on integer/bool/varchar column | 不支持的STATE_WINDOW数据类型 | 检查并修正SQL语句 |
| 0x80002629 | Not support STATE_WINDOW on tag column | 不支持TAG列的STATE_WINDOW | 检查并修正SQL语句 |
| 0x8000262A | STATE_WINDOW not support for super table query | 不支持超级表的STATE_WINDOW | 检查并修正SQL语句 |
| 0x8000262B | SESSION gap should be fixed time window, and greater than 0 | SESSION窗口值非法 | 检查并修正SQL语句 |
| 0x8000262C | Only support SESSION on primary timestamp column | SESSION窗口列非法 | 检查并修正SQL语句 |
| 0x8000262D | Interval offset cannot be negative | INTERVAL offset值非法 | 检查并修正SQL语句 |
| 0x8000262E | Cannot use 'year' as offset when interval is 'month' | INTERVAL offset单位非法 | 检查并修正SQL语句 |
| 0x8000262F | Interval offset should be shorter than interval | INTERVAL offset值非法 | 检查并修正SQL语句 |
| 0x80002630 | Does not support sliding when interval is natural month/year | sliding单位非法 | 检查并修正SQL语句 |
| 0x80002631 | sliding value no larger than the interval value | sliding值非法 | 检查并修正SQL语句 |
| 0x80002632 | sliding value can not less than 1%% of interval value | sliding值非法 | 检查并修正SQL语句 |
| 0x80002633 | Only one tag if there is a json tag | 只支持单个JSON TAG列 | 检查并修正SQL语句 |
| 0x80002634 | Query block has incorrect number of result columns | 列个数不匹配 | 检查并修正SQL语句 |
| 0x80002635 | Incorrect TIMESTAMP value | 主键时间戳列值非法 | 检查并修正SQL语句 |
| 0x80002637 | soffset/offset can not be less than 0 | soffset/offset值非法 | 检查并修正SQL语句 |
| 0x80002638 | slimit/soffset only available for PARTITION/GROUP BY query | slimit/soffset只支持PARTITION BY/GROUP BY语句 | 检查并修正SQL语句 |
| 0x80002639 | Invalid topic query | 不支持的TOPIC查询语 |
| 0x8000263A | Cannot drop super table in batch | 不支持批量删除超级表 | 检查并修正SQL语句 |
| 0x8000263B | Start(end) time of query range required or time range too large | 窗口个数超出限制 | 检查并修正SQL语句 |
| 0x8000263C | Duplicated column names | 列名称重复 | 检查并修正SQL语句 |
| 0x8000263D | Tags length exceeds max length | TAG值长度超出最大支持范围 | 检查并修正SQL语句 |
| 0x8000263E | Row length exceeds max length | 行长度检查并修正SQL语句 | 检查并修正SQL语句 |
| 0x8000263F | Illegal number of columns | 列个数错误 | 检查并修正SQL语句 |
| 0x80002640 | Too many columns | 列个数超出上限 | 检查并修正SQL语句 |
| 0x80002641 | First column must be timestamp | 第一列必须是主键时间戳列 | 检查并修正SQL语句 |
| 0x80002642 | Invalid binary/nchar column/tag length | binary/nchar长度错误 | 检查并修正SQL语句 |
| 0x80002643 | Invalid number of tag columns | TAG列个数错误 | 检查并修正SQL语句 |
| 0x80002644 | Permission denied | 权限错误 | 检查确认用户是否有相应操作权限 |
| 0x80002645 | Invalid stream query | 非法流语句 | 检查并修正SQL语句 |
| 0x80002646 | Invalid _c0 or _rowts expression | _c0或_rowts非法使用 | 检查并修正SQL语句 |
| 0x80002647 | Invalid timeline function | 函数依赖的主键时间戳不存在 | 检查并修正SQL语句 |
| 0x80002648 | Invalid password | 密码不符合规范 | 检查并修改密码 |
| 0x80002649 | Invalid alter table statement | 修改表语句不合法 | 检查并修正SQL语句 |
| 0x8000264A | Primary timestamp column cannot be dropped | 主键时间戳列不允许删除 | 检查并修正SQL语句 |
| 0x8000264B | Only binary/nchar column length could be modified, and the length can only be increased, not decreased | 非法列修改 | 检查并修正SQL语句 |
| 0x8000264C | Invalid tbname pseudo column | 非法使用tbname列 | 检查并修正SQL语句 |
| 0x8000264D | Invalid function name | 非法函数名 | 检查并修正函数名 |
| 0x8000264E | Comment too long | 注释长度超限 | 检查并修正SQL语句 |
| 0x8000264F | Function(s) only allowed in SELECT list, cannot mixed with non scalar functions or columns | 非法的函数混用 | 检查并修正SQL语句 |
| 0x80002650 | Window query not supported, since no valid timestamp column included in the result of subquery | 窗口查询依赖的主键时间戳列不存在 | 检查并修正SQL语句 |
| 0x80002651 | No columns can be dropped | 必须的列不能被删除 | 检查并修正SQL语句 |
| 0x80002652 | Only tag can be json type | 普通列不支持JSON类型 | 检查并修正SQL语句 |
| 0x80002655 | The DELETE statement must have a definite time window range | DELETE语句中存在非法WHERE条件 | 检查并修正SQL语句 |
| 0x80002656 | The REDISTRIBUTE VGROUP statement only support 1 to 3 dnodes | REDISTRIBUTE VGROUP指定的DNODE个数非法 | 检查并修正SQL语句 |
| 0x80002657 | Fill now allowed | 函数不允许FILL功能 | 检查并修正SQL语句 |
| 0x80002658 | Invalid windows pc | 非法使用窗口伪列 | 检查并修正SQL语句 |
| 0x80002659 | Window not allowed | 函数不能在窗口中使用 | 检查并修正SQL语句 |
| 0x8000265A | Stream not allowed | 函数不能在流计算中使用 | 检查并修正SQL语句 |
| 0x8000265B | Group by not allowd | 函数不能在分组中使用 | 检查并修正SQL语句 |
| 0x8000265D | Invalid interp clause | 非法INTERP或相关语句 | 检查并修正SQL语句 |
| 0x8000265E | Not valid function ion window | 非法窗口语句 | 检查并修正SQL语句 |
| 0x8000265F | Only support single table | 函数只支持在单表查询中使用 | 检查并修正SQL语句 |
| 0x80002660 | Invalid sma index | 非法创建SMA语句 | 检查并修正SQL语句 |
| 0x80002661 | Invalid SELECTed expression | 无效查询语句 | 检查并修正SQL语句 |
| 0x80002662 | Fail to get table info | 获取表元数据信息失败 | 保留现场和日志github上报issue |
| 0x80002663 | Not unique table/alias | 表名(别名)冲突 | 检查并修正SQL语句 |
| 0x80002664 | Join requires valid time series input | 不支持子查询不含主键时间戳列输出的JOIN查询 | 检查并修正SQL语句 |
| 0x80002665 | The _TAGS pseudo column can only be used for subtable and supertable queries | 非法TAG列查询 | 检查并修正SQL语句 |
| 0x80002666 | 子查询不含主键时间戳列输出 | 检查并修正SQL语句 |
| 0x80002667 | Invalid usage of expr: %s | 非法表达式 | 检查并修正SQL语句 |
| 0x800026FF | Parser internal error | 解析器内部错误 | 保留现场和日志github上报issue |
| 0x80002700 | Planner internal error | 计划期内部错误 | 保留现场和日志github上报issue |
| 0x80002701 | Expect ts equal | JOIN条件校验失败 | 保留现场和日志github上报issue |
| 0x80002702 | Cross join not support | 不支持CROSS JOIN | 检查并修正SQL语句 |
## function
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| 0x80002800 | Function internal error | 函数参数输入不合理造成的错误随错误码会返回具体错误描述信息。比如APERCENTILE函数第三个参数指定算法时只能使用字符串"default" | "t-digest", 使用其他输入会报此类错误。或者TO_ISO8601函数第二个参数指定时区时字符串不符合时区格式规范等。 | 根据具体错误描述信息,调整函数输入。 |
| 0x80002801 | Invalid function para number | 函数输入参数个数不正确。函数规定必须要使用n个参数而用户给定参数个数不为n。比如COUNT(col1, col2)。 | 调整函数输入参数为正确个数。 |
| 0x80002802 | Invalid function para type | 函数输入参数类型不正确。函数输入参数要求为数值类型但是用户所给参数为字符串。比如SUM("abc")。 | 调整函数参数输入为正确类型 |
| 0x80002803 | Invalid function para value | 函数输入参数取值不正确。函数输入参数范围不正确。比如SAMPLE函数第二个参数指定采样个数范围为[1, 1000], 如果不在这个范围内会会报错。 | 调整函数参数输入为正确取值。 |
| 0x80002804 | Not builtin function | 函数非内置函数。内置函数不在的哈希表中会报错,用户应该很少遇见这个问题,否则是内部内置函数哈希初始化的时候出错或者写坏。 | 客户应该不会遇到如果遇到说明程序有bug咨询开发人员。 |
| 0x80002805 | Duplicate timestamps not allowed in function | 函数输入主键列有重复时间戳。对某些依赖时间线顺序函数做超级表查询时所有子表数据会按照时间戳进行排序后合并为一条时间线进行计算因此子表合并后的时间戳可能会出现重复导致某些计算没有意义而报错。涉及到的函数有CSUMDERIVATIVEDIFFIRATEMAVGSTATECOUNTSTATEDURATIONTWA | 如果需要对超级表查询并且使用这些依赖时间线顺序函数时,确保子表中不存在重复时间戳数据。 |
## udf
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ---------------------------------- | ------------------------------------------------------------------------------------- | --------------------------------------------- |
| 0x80002901 | udf is stopping | dnode退出时收到udf调用 | 停止执行udf查询 |
| 0x80002902 | udf pipe read error | taosd读取udfd pipe发生错误 | udfd异常退出1c udf崩溃 2udfd崩溃 |
| 0x80002903 | udf pipe connect error | taosd建立到udfd的管道连接时发生错误 | 1)taosd对应的udfd未启动。重启taosd |
| 0x80002904 | udf pip not exist | udf建立调用拆除三个阶段两个阶段中间发生连接错误导致连接消失后续阶段继续执行 | udfd异常退出1c udf崩溃 2udfd崩溃 |
| 0x80002905 | udf load failure | udfd加载udf时错误 | 1mnode中udf不存在 2udf 加载出错。查看日志 |
| 0x80002906 | udf invalid function input | udf检查输入 | udf函数不接受输入如输入列类型错误 |
| 0x80002907 | udf invalid bufsize | udf聚合函数中间结果大于创建udf中指定的bufsize | 增大bufSize或者降低中间结果大小 |
| 0x80002908 | udf invalid output type | udf输出的类型和创建udf中指定的类型 | 修改udf或者创建udf的类型使得结果相同 |
| 0x80002909 | udf program language not supported | udf编程语言不支持 | 使用支持的语言,当前支持cpython |
| 0x8000290A | udf function execution failure | udf函数执行错误如返回错误的行数 | 具体查看错误日志 |
## sml
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | -------------------------------- | ----------------------------------------------- | --------------------------------------------------------------- |
| 0x80003000 | Invalid line protocol type | schemaless接口传入的协议非法 | 检查传入的协议是否为taos.h 中定位的三种 TSDB_SML_PROTOCOL_TYPE |
| 0x80003001 | Invalid timestamp precision type | schemaless接口传入的时间精度非法 | 检查传入的协议是否为taos.h 中定位的七种 TSDB_SML_TIMESTAMP_TYPE |
| 0x80003002 | Invalid data format | schemaless接口传入的数据格式非法 | 具体查看client端的错误日志提示 |
| 0x80003004 | Not the same type as before | schemaless 数据一批的多行数据里相同列类型不一致 | 检测数据里每行相同列的数据类型是否一致 |
| 0x80003005 | Internal error | schemaless 内部逻辑错误,一般不会出现 | 具体查看client端的错误日志提示 |
## sma
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ----------------------------- | ---------------------------------------------------------- | -------------------------- |
| 0x80003100 | Tsma init failed | TSMA 环境初始化失败 | 检查错误日志,联系开发处理 |
| 0x80003101 | Tsma already exists | TSMA 重复创建 | 避免重复创建 |
| 0x80003102 | Invalid tsma env | TSMA 运行环境异常 | 检查错误日志,联系开发处理 |
| 0x80003103 | Invalid tsma state | 流计算下发结果的 vgroup 与创建 TSMA index 的 vgroup 不一致 | 检查错误日志,联系开发处理 |
| 0x80003104 | Invalid tsma pointer | 在处理写入流计算下发的结果,消息体为空指针。 | 检查错误日志,联系开发处理 |
| 0x80003105 | Invalid tsma parameters | 在处理写入流计算下发的结果结果数量为0。 | 检查错误日志,联系开发处理 |
| 0x80003150 | Invalid rsma env | Rsma 执行环境异常。 | 检查错误日志,联系开发处理 |
| 0x80003151 | Invalid rsma state | Rsma 执行状态异常。 | 检查错误日志,联系开发处理 |
| 0x80003152 | Rsma qtaskinfo creation error | 创建流计算环境异常。 | 检查错误日志,联系开发处理 |
| 0x80003153 | Rsma invalid schema | 启动恢复时元数据信息错误 | 检查错误日志,联系开发处理 |
| 0x80003154 | Rsma stream state open | 打开流算子状态存储失败 | 检查错误日志,联系开发处理 |
| 0x80003155 | Rsma stream state commit | 提交流算子状态存储失败 | 检查错误日志,联系开发处理 |
| 0x80003156 | Rsma fs ref error | 算子文件引用计数错误 | 检查错误日志,联系开发处理 |
| 0x80003157 | Rsma fs sync error | 算子文件同步失败 | 检查错误日志,联系开发处理 |
| 0x80003158 | Rsma fs update error | 算子文件更新失败 | 检查错误日志,联系开发处理 |
## index
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | ---------------- | --------------------------------------------------------------------- | -------------------------- |
| 0x80003200 | INDEX 正在重建中 | 1. 写入过快导致index 的合并线程处理不过来 2. 索引文件损坏,正在重建 | 检查错误日志,联系开发处理 |
| 0x80003201 | 索引文件损坏 | 文件损坏 | 检查错误日志,联系开发处理 |
## tmq
| 错误码 | 错误描述 | 可能的出错场景或者可能的原因 | 建议用户采取的措施 |
| ---------- | --------------------- | -------------------------------------------------------------------------------- | ------------------------------ |
| 0x80004000 | Invalid message | 订阅到的数据非法,一般不会出现 | 具体查看client端的错误日志提示 |
| 0x80004001 | Consumer mismatch | 订阅请求的vnode和重新分配的vnode不一致一般存在于有新消费者加入相同消费者组里时 | 内部错误,不暴露给用户 |
| 0x80004002 | Consumer closed | 消费者已经不存在了 | 查看是否已经close掉了 |
| 0x80004100 | Stream task not exist | 流计算任务不存在 | 具体查看server端的错误日志 |