From 5be16c9c849c0b39167d7969727851b58e7d34e0 Mon Sep 17 00:00:00 2001 From: foesa <35463247+foesa-yang@users.noreply.github.com> Date: Thu, 29 Dec 2022 15:02:06 +0800 Subject: [PATCH] Update error-code.md (#2426) --- docs-2.0/20.appendix/error-code.md | 33 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/docs-2.0/20.appendix/error-code.md b/docs-2.0/20.appendix/error-code.md index df738bcef1e..790d0536661 100644 --- a/docs-2.0/20.appendix/error-code.md +++ b/docs-2.0/20.appendix/error-code.md @@ -28,6 +28,9 @@ NebulaGraph 运行出现问题时,会返回错误码。本文介绍错误码 |`E_USER_NOT_FOUND`|`-18`| 用户不存在| |`E_STATS_NOT_FOUND`|`-19`| 统计信息不存在| |`E_SERVICE_NOT_FOUND`|`-20`| 没有找到当前服务| +|`E_DRAINER_NOT_FOUND`|`-21`| drainer 不存在| +|`E_DRAINER_CLIENT_NOT_FOUND`|`-22`| drainer 客户端不存在| +|`E_PART_STOPPED`|`-23`| 当前 partition 已经被停止| |`E_BACKUP_FAILED`|`-24`| 备份失败| |`E_BACKUP_EMPTY_TABLE`|`-25`| 备份的表为空| |`E_BACKUP_TABLE_FAILED`|`-26`| 备份表失败| @@ -96,6 +99,7 @@ NebulaGraph 运行出现问题时,会返回错误码。本文介绍错误码 |`E_LIST_CLUSTER_NO_AGENT_FAILURE`|`-2072`| 获取集群信息时无法获得 agent| |`E_QUERY_NOT_FOUND`|`-2073`| query 未找到| |`E_AGENT_HB_FAILUE`|`-2074`| agent 没有汇报心跳| +|`E_GRAPH_MEMORY_EXCEEDED`|`-2600`| Graph 内存超出| |`E_CONSENSUS_ERROR`|`-3001`| 选举时无法达成共识| |`E_KEY_HAS_EXISTS`|`-3002`| key 已经存在| |`E_DATA_TYPE_MISMATCH`|`-3003`| 数据类型不匹配| @@ -154,23 +158,7 @@ NebulaGraph 运行出现问题时,会返回错误码。本文介绍错误码 |`E_RAFT_ATOMIC_OP_FAILED`|`-3530`| 原子操作失败| |`E_LEADER_LEASE_FAILED`|`-3531`| leader 租约过期| |`E_RAFT_CAUGHT_UP`|`-3532`| Raft 已经同步数据| - -