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

Error code #1801

Merged
merged 5 commits into from
May 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs-2.0/20.appendix/0.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Nebula Graph 一直在持续开发,功能或操作的行为可能会有变化

从 3.0.0 版本开始,`pattern`支持同时匹配多个 Tag,所以返回属性时,需要额外指定 Tag 名称。即从`RETURN 变量名.属性名`改为`RETURN 变量名.Tag名.属性名`。

<!--
### 如何处理错误信息 `[ERROR (-1005)]: Used memory hits the high watermark(0.800000) of total system memory.`

报错原因:Nebula Graph 的`system_memory_high_watermark_ratio`参数指定了内存高水位报警机制的触发阈值,默认为`0.8`。系统内存占用率高于该值会触发报警机制,Nebula Graph 会停止接受查询。
Expand All @@ -56,6 +57,8 @@ Nebula Graph 一直在持续开发,功能或操作的行为可能会有变化
* 清理系统内存,使其降低到阈值以下。
* [修改 Graph 配置](../5.configurations-and-logs/1.configurations/1.configurations.md)。在所有 Graph 服务器的配置文件中增加`system_memory_high_watermark_ratio`参数,为其设置一个大于`0.8`的值,例如`0.9`。

-->

### 如何处理错误信息 `Storage Error E_RPC_FAILURE`

报错原因通常为 Graph 服务向 Storage 服务请求了过多的数据,导致 Storage 服务超时。请尝试以下解决方案:
Expand All @@ -70,6 +73,7 @@ Nebula Graph 一直在持续开发,功能或操作的行为可能会有变化

已知问题,通常需要重试 1-N 次 (N==partition 数量)。原因为 meta client 更新 leader 缓存需要 1-2 个心跳或者通过错误触发强制更新。

<!--
### [ERROR (-1005)]: Schema not exist: xxx

查询时提示`Schema not exist`,请确认:
Expand All @@ -78,6 +82,8 @@ Nebula Graph 一直在持续开发,功能或操作的行为可能会有变化

- Tag 或 Edge type 的名称是否为关键字,如果是关键字,请使用反引号(\`)将它们括起来。详情请参见[关键字](../3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md)。

-->

### 编译 Exchange、Connectors、Algorithm 时无法下载 SNAPSHOT 包

现象:编译时提示`Could not find artifact com.vesoft:client:jar:xxx-SNAPSHOT`。
Expand All @@ -103,12 +109,10 @@ Nebula Graph 一直在持续开发,功能或操作的行为可能会有变化
</profile>
```

### 如何处理错误信息`[ERROR (-7)]: SyntaxError: syntax error near`?
### 如何处理错误信息`[ERROR (-1004)]: SyntaxError: syntax error near`?

大部分情况下,查询语句需要有`YIELD`或`RETURN`,请检查查询语句是否包含。



### 如何处理错误信息`can’t solve the start vids from the sentence`

查询引擎需要知道从哪些 VID 开始图遍历。这些开始图遍历的 VID,或者通过用户指定,例如:
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/10.tag-statements/2.drop-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- 登录的用户必须拥有对应权限才能执行`DROP TAG`语句。详情请参见[内置角色权限](../../7.data-security/1.authentication/3.role-list.md)。

- 确保 Tag 不包含任何索引,否则`DROP TAG`时会报冲突错误`[ERROR (-8)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。
- 确保 Tag 不包含任何索引,否则`DROP TAG`时会报冲突错误`[ERROR (-1005)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。

## 语法

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/10.tag-statements/3.alter-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- 登录的用户必须拥有对应权限才能执行`ALTER TAG`语句。详情请参见[内置角色权限](../../7.data-security/1.authentication/3.role-list.md)。

- 确保要修改的属性不包含索引,否则`ALTER TAG`时会报冲突错误`[ERROR (-8)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。
- 确保要修改的属性不包含索引,否则`ALTER TAG`时会报冲突错误`[ERROR (-1005)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。

## 语法

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- 登录的用户必须拥有对应权限才能执行`DROP EDGE`语句。详情请参见[内置角色权限](../../7.data-security/1.authentication/3.role-list.md)。

- 确保 Edge type 不包含任何索引,否则`DROP EDGE`时会报冲突错误`[ERROR (-8)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。
- 确保 Edge type 不包含任何索引,否则`DROP EDGE`时会报冲突错误`[ERROR (-1005)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。

## 语法

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- 登录的用户必须拥有对应权限才能执行`ALTER EDGE`语句。详情请参见[内置角色权限](../../7.data-security/1.authentication/3.role-list.md)。

- 确保要修改的属性不包含索引,否则`ALTER EDGE`时会报冲突错误`[ERROR (-8)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。
- 确保要修改的属性不包含索引,否则`ALTER EDGE`时会报冲突错误`[ERROR (-1005)]: Conflict!`。删除索引请参见 [drop index](../14.native-index-statements/6.drop-native-index.md)。

## 语法

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ nebula> INSERT VERTEX t5(p1, p2, p3) VALUES "001":("Abe", 2, 3);

# 插入失败,因为属性 p1 不能为 NULL。
nebula> INSERT VERTEX t5(p1, p2, p3) VALUES "002":(NULL, 4, 5);
[ERROR (-1005)]: Storage Error: The not null field cannot be null.
[ERROR (-1009)]: SemanticError: No schema found for `t5'

# 属性 p3 为默认值 NULL。
nebula> INSERT VERTEX t5(p1, p2) VALUES "003":("cd", 5);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ nebula> KILL QUERY(SESSION=1625553545984255,PLAN=163);
另一个会话中的查询会终止,并返回如下信息:

```ngql
[ERROR (-1005)]: Execution had been killed
[ERROR (-1005)]: ExecutionPlanId[1001] does not exist in current Session.
```