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

[auto-pick-to-v3.5.0]increment-changes-on-ent-docs #2799

Closed
wants to merge 1 commit into from
Closed
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
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
name: Publish docs via GitHub Pages
env:
<<<<<<< HEAD
ACTIONTEST: 3.5.0
=======
ACTIONTEST: master
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
# branch name, like master, 2.4
on:
push:
branches: # hard code branch name
<<<<<<< HEAD
- v3.5.0
=======
- master
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

jobs:
prepare:
Expand Down Expand Up @@ -86,7 +94,10 @@ jobs:
python ./scripts/conditional_pdf.py
git fetch origin gh-pages --depth=1 # fix mike's CI update
mike deploy ${{ env.ACTIONTEST }} -p --rebase
<<<<<<< HEAD
mike set-default ${{ env.ACTIONTEST }} -p --rebase
=======
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
mike list
- name: show git branch
run: |
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ site/
vim*
app/node_modules
app/dist/
<<<<<<< HEAD
*.diff
=======

>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
4 changes: 4 additions & 0 deletions docs-2.0/1.introduction/1.what-is-nebula-graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

{{nebula.name}}是一款开源的、分布式的、易扩展的原生图数据库,能够承载包含数千亿个点和数万亿条边的超大规模数据集,并且提供毫秒级查询。

<<<<<<< HEAD
{{ comm.comm_begin }}
![{{nebula.name}}鸟瞰图](https://docs-cdn.nebula-graph.com.cn/figures/architecture_map_2022-08-08_17-37-15.png)
{{ comm.comm_end }}
=======
![{{nebula.name}}鸟瞰图](https://docs-cdn.nebula-graph.com.cn/figures/architecture_map_2022-08-08_17-37-15.png)
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

## 什么是图数据库

Expand Down
18 changes: 18 additions & 0 deletions docs-2.0/2.quick-start/6.cheatsheet-for-ngql-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,15 @@
| 检索点 | `LOOKUP ON player WHERE player.name == "Tony Parker" YIELD player.name AS name, player.age AS age` | 返回 Tag 为`player`且`name`为`Tony Parker`的点。 |
| 检索边 | `LOOKUP ON follow WHERE follow.degree == 90 YIELD follow.degree` | 返回 Edge type 为`follow`且`degree`为`90`的边。 |
| 通过 Tag 列出所有点 | `LOOKUP ON player YIELD properties(vertex),id(vertex)` | 查找所有 Tag 为`player`的点 VID。 |
<<<<<<< HEAD
| 通过 Edge type 列出边 | `LOOKUP ON follow YIELD edge AS e` | 查找 Edge type 为`follow`的所有边的信息。 |
| 统计点 | `LOOKUP ON player YIELD id(vertex)| YIELD COUNT(*) AS Player_Count` | 统计 Tag 为`player`的点。 |
| 统计边 | `LOOKUP ON follow YIELD edge as e | YIELD COUNT(*) AS Like_Count` | 统计 Edge type 为`follow`的边。 |
=======
| 通过 Edge type 列出边 | `LOOKUP ON like YIELD edge AS e` | 查找 Edge type 为`like`的所有边的信息。 |
| 统计点 | `LOOKUP ON player YIELD id(vertex)| YIELD COUNT(*) AS Player_Count` | 统计 Tag 为`player`的点。 |
| 统计边 | `LOOKUP ON like YIELD id(vertex)| YIELD COUNT(*) AS Like_Count` | 统计 Edge type 为`like`的边。 |
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))



Expand Down Expand Up @@ -432,6 +438,7 @@

## 运维

<<<<<<< HEAD
* [SUBMIT JOB BALANCE](../synchronization-and-migration/2.balance-syntax.md)

| 语法 | 说明 |
Expand All @@ -441,6 +448,17 @@
|`SUBMIT JOB BALANCE DATA`|启动任务均衡分布当前图空间中的所有分片。该命令会返回任务 ID(`job_id`)。|
|`SUBMIT JOB BALANCE DATA REMOVE <ip:port> [,<ip>:<port> ...]`|启动任务迁空当前图空间指定的 Storage 服务中的分片。端口默认为`9779`。|
{{ ent.ent_end }}
=======
* [BALANCE](../synchronization-and-migration/2.balance-syntax.md)

| 语法 | 说明 |
| :-------------------------------- | :----------------------------------------------------------- |
|`BALANCE LEADER`|启动任务均衡分布所有图空间中的 leader。该命令会返回任务 ID。|
<!-- balance-3.1
|`BALANCE IN ZONE [REMOVE <ip>:<port> [,<ip>:<port> ...]]`|在当前图空间内每个 Zone 内部启动任务均衡分布分片。该命令会返回任务 ID。可以使用`REMOVE`选项指定需要清空的 Storage 节点,方便进行维护。|
|`BALANCE ACROSS ZONE [REMOVE "zone_name" [,"zone_name" ...]]`|在当前图空间内所有 Zone 之间启动任务均衡分布分片,保证各个 Zone 分片数量平衡。该命令会返回任务 ID。可以使用`REMOVE`选项指定需要清空的 Zone,方便进行维护。|
-->
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))


* [作业管理](../3.ngql-guide/4.job-statements.md)
Expand Down
6 changes: 6 additions & 0 deletions docs-2.0/20.appendix/error-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
{{nebula.name}}运行出现问题时,会返回错误码。本文介绍错误码的详细信息。

!!! note
<<<<<<< HEAD
{{comm.comm_begin}}
- 如果出现错误但没有返回错误码,或错误码描述不清,请在[论坛](https://discuss.nebula-graph.com.cn/)或 [GitHub](https://github.com/vesoft-inc/nebula/issues) 反馈。
{{comm.comm_end}}
=======
{comm.comm_begin}
- 如果出现错误但没有返回错误码,或错误码描述不清,请在[论坛](https://discuss.nebula-graph.com.cn/)或 [GitHub](https://github.com/vesoft-inc/nebula/issues) 反馈。
{comm.comm_end}
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
- 返回`0`表示执行成功。

|错误名称|错误码|说明|
Expand Down
6 changes: 6 additions & 0 deletions docs-2.0/20.appendix/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@

13. 2023.2 发布 v3.4.0

<<<<<<< HEAD
14. 2023.5 发布 v3.5.0

=======
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
{{ comm.comm_end }}

{{ ent.ent_begin }}
Expand All @@ -64,5 +67,8 @@

7. 2023.2 发布 v3.4.0

<<<<<<< HEAD
8. 2023.5 发布 v3.5.0
=======
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
{{ ent.ent_end }}
15 changes: 15 additions & 0 deletions docs-2.0/20.appendix/release-notes/nebula-comm-release-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
- 增强了聚合函数中的属性裁剪功能。 [#5301](https://github.com/vesoft-inc/nebula/pull/5301)
- 提高了遍历执行器的性能。[#5308](https://github.com/vesoft-inc/nebula/pull/5308)
- 优化了 FIND ALL PATH 性能。 [#5409](https://github.com/vesoft-inc/nebula/pull/5409)
<<<<<<< HEAD
- 为了提高性能,移除了一些 Raft 锁。[#5451](https://github.com/vesoft-inc/nebula/pull/5451)
=======
- 为了提高性能,移除了一些 Raft锁。[#5451](https://github.com/vesoft-inc/nebula/pull/5451)
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
- 优化了谓词函数过滤变长边。[#5464](https://github.com/vesoft-inc/nebula/pull/5464) [#5470](https://github.com/vesoft-inc/nebula/pull/5470) [#5481](https://github.com/vesoft-inc/nebula/pull/5481) [#5503](https://github.com/vesoft-inc/nebula/pull/5503)
- 并行遍历执行器。 [#5314](https://github.com/vesoft-inc/nebula/pull/5314)
- MATCH 支持 ID 集合。 [#5360](https://github.com/vesoft-inc/nebula/pull/5360)
Expand All @@ -26,10 +30,17 @@
## 缺陷修复

- 修复了 RocksDB 导入数据导致 Leader lease 无效的缺陷。 [#5271](https://github.com/vesoft-inc/nebula/pull/5271)
<<<<<<< HEAD
- 修复了当用户不存在时`DESC USER`提示信息错误的缺陷。 [#5345](https://github.com/vesoft-inc/nebula/pull/5345)
- 修复了 SPACE 存在时,`CREATE IF NOT EXIST`将无法成功的缺陷。 [#5375](https://github.com/vesoft-inc/nebula/pull/5375)
- 修复了在计划中 GetNeighbors 边的方向错误的缺陷。 [#5386](https://github.com/vesoft-inc/nebula/pull/5386)
- 修复了`SHOW SESSIONS`命令中客户端 IP 格式的缺陷。 [#5388](https://github.com/vesoft-inc/nebula/pull/5388)
=======
- 修复了当用户不存在时 DESC USER 提示信息错误的缺陷。 [#5345](https://github.com/vesoft-inc/nebula/pull/5345)
- 修复了 SPACE 存在时,CREATE IF NOT EXIST 将无法成功的缺陷。 [#5375](https://github.com/vesoft-inc/nebula/pull/5375)
- 修复了在计划中 GetNeighbors 边的方向错误的缺陷。 [#5386](https://github.com/vesoft-inc/nebula/pull/5386)
- 修复了 SHOW SESSIONS 命令中客户端 IP 格式的缺陷。 [#5388](https://github.com/vesoft-inc/nebula/pull/5388)
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
- 修复了在 USE 和 MATCH 时属性被剪枝的缺陷。 [#5263](https://github.com/vesoft-inc/nebula/issues/5263)
- 修复了在某些情况下过滤器未下推的缺陷。 [#5395](https://github.com/vesoft-inc/nebula/pull/5395)
- 修复了在某些情况下过滤器错误地过滤的缺陷。 [#5422](https://github.com/vesoft-inc/nebula/pull/5422)
Expand All @@ -41,7 +52,11 @@
- 修复了插入地理位置值时的类型检查缺陷。 [#5460](https://github.com/vesoft-inc/nebula/pull/5460)
- 修复了最短路径崩溃的缺陷。 [#5472](https://github.com/vesoft-inc/nebula/pull/5472)
- 修复了 GEO 崩溃的缺陷。 [#5475](https://github.com/vesoft-inc/nebula/pull/5475)
<<<<<<< HEAD
- 修复了`MATCH...contains`报错的缺陷。 [#5485](https://github.com/vesoft-inc/nebula/pull/5485)
=======
- 修复了 MATCH...contains 报错的缺陷。 [#5485](https://github.com/vesoft-inc/nebula/pull/5485)
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
- 修复了并发时会话计数错误的 bug。[#5496](https://github.com/vesoft-inc/nebula/pull/5496)
- 修复了 SUBGRAPH 和 PATH 参数的缺陷。 [#5500](https://github.com/vesoft-inc/nebula/pull/5500)
- 修复了正则表达式的缺陷。[#5507](https://github.com/vesoft-inc/nebula/pull/5507)
Expand Down
15 changes: 15 additions & 0 deletions docs-2.0/20.appendix/release-notes/nebula-ent-release-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
- 增强了聚合函数中的属性裁剪功能。 [#5301](https://github.com/vesoft-inc/nebula/pull/5301)
- 提高了遍历执行器的性能。[#5308](https://github.com/vesoft-inc/nebula/pull/5308)
- 重构了 ALL PATH 以提高性能。 [#5409](https://github.com/vesoft-inc/nebula/pull/5409)
<<<<<<< HEAD
- 为了提高性能,移除了一些 Raft 锁。[#5451](https://github.com/vesoft-inc/nebula/pull/5451)
=======
- 为了提高性能,移除了一些 Raft锁。[#5451](https://github.com/vesoft-inc/nebula/pull/5451)
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
- 优化了谓词函数过滤变长边。[#5464](https://github.com/vesoft-inc/nebula/pull/5464) [#5470](https://github.com/vesoft-inc/nebula/pull/5470) [#5481](https://github.com/vesoft-inc/nebula/pull/5481) [#5503](https://github.com/vesoft-inc/nebula/pull/5503)
- 并行遍历执行器。 [#5314](https://github.com/vesoft-inc/nebula/pull/5314)
- MATCH 支持 ID 集合。 [#5360](https://github.com/vesoft-inc/nebula/pull/5360)
Expand All @@ -26,10 +30,17 @@
## 缺陷修复

- 修复了 RocksDB 导入数据导致 Leader lease 无效的缺陷。 [#5271](https://github.com/vesoft-inc/nebula/pull/5271)
<<<<<<< HEAD
- 修复了当用户不存在时`DESC USER`提示信息错误的缺陷。 [#5345](https://github.com/vesoft-inc/nebula/pull/5345)
- 修复了 SPACE 存在时,`CREATE IF NOT EXIST`将无法成功的缺陷。 [#5375](https://github.com/vesoft-inc/nebula/pull/5375)
- 修复了在计划中 GetNeighbors 边的方向错误的缺陷。 [#5386](https://github.com/vesoft-inc/nebula/pull/5386)
- 修复了`SHOW SESSIONS`命令中客户端 IP 格式的缺陷。 [#5388](https://github.com/vesoft-inc/nebula/pull/5388)
=======
- 修复了当用户不存在时 DESC USER 提示信息错误的缺陷。 [#5345](https://github.com/vesoft-inc/nebula/pull/5345)
- 修复了 SPACE 存在时,CREATE IF NOT EXIST 将无法成功的缺陷。 [#5375](https://github.com/vesoft-inc/nebula/pull/5375)
- 修复了在计划中 GetNeighbors 边的方向错误的缺陷。 [#5386](https://github.com/vesoft-inc/nebula/pull/5386)
- 修复了 SHOW SESSIONS 命令中客户端 IP 格式的缺陷。 [#5388](https://github.com/vesoft-inc/nebula/pull/5388)
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
- 修复了在 USE 和 MATCH 时属性被剪枝的缺陷。 [#5263](https://github.com/vesoft-inc/nebula/issues/5263)
- 修复了在某些情况下过滤器未下推的缺陷。 [#5395](https://github.com/vesoft-inc/nebula/pull/5395)
- 修复了在某些情况下过滤器错误地过滤的缺陷。 [#5422](https://github.com/vesoft-inc/nebula/pull/5422)
Expand All @@ -42,7 +53,11 @@
- 修复了最短路径崩溃的缺陷。 [#5472](https://github.com/vesoft-inc/nebula/pull/5472)
- 修复了 GEO 崩溃的缺陷。 [#5475](https://github.com/vesoft-inc/nebula/pull/5475)
- 修复了在逻辑表达式评估中存储崩溃的缺陷。[#2500](https://github.com/vesoft-inc/nebula-ent/pull/2500)
<<<<<<< HEAD
- 修复了`MATCH...contains`报错的缺陷。 [#5485](https://github.com/vesoft-inc/nebula/pull/5485)
=======
- 修复了 MATCH...contains 报错的缺陷。 [#5485](https://github.com/vesoft-inc/nebula/pull/5485)
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
- 修复了并发时会话计数错误的 bug。[#5496](https://github.com/vesoft-inc/nebula/pull/5496)
- 修复了 SUBGRAPH 和 PATH 参数的缺陷。 [#5500](https://github.com/vesoft-inc/nebula/pull/5500)
- 修复了正则表达式的缺陷。[#5507](https://github.com/vesoft-inc/nebula/pull/5507)
Expand Down
10 changes: 10 additions & 0 deletions docs-2.0/3.ngql-guide/4.job-statements.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
{{ ent.ent_begin }}
## SUBMIT JOB BALANCE DATA

<<<<<<< HEAD
=======
!!! enterpriseonly

仅企业版支持本功能。

>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
!!! caution

- 作业执行前,建议[创建快照](../backup-and-restore/3.manage-snapshot.md)。
Expand All @@ -28,6 +35,7 @@ nebula> SUBMIT JOB BALANCE DATA;
+------------+
```

<<<<<<< HEAD
## SUBMIT JOB BALANCE DATA REMOVE

`SUBMIT JOB BALANCE DATA REMOVE <ip:port> [,<ip>:<port> ...]`语句会启动任务迁空当前图空间指定的 Storage 服务中的分片。端口默认为`9779`。该命令会返回任务 ID。
Expand All @@ -43,6 +51,8 @@ nebula> SUBMIT JOB BALANCE DATA REMOVE 192.168.8.100:9779;
+------------+
```

=======
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
{{ ent.ent_end }}

<!-- balance-3.1
Expand Down
4 changes: 4 additions & 0 deletions docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ CREATE SPACE [IF NOT EXISTS] <graph_space_name> (

!!! caution

<<<<<<< HEAD
- 如果将副本数设置为 1,用户将无法使用 [SUBMIT JOB BALANCE](../../8.service-tuning/load-balance.md) 命令为{{nebula.name}}的存储服务平衡负载或扩容。
=======
- 如果将副本数设置为 1,用户将无法使用 [BALANCE](../../8.service-tuning/load-balance.md) 命令为{{nebula.name}}的存储服务平衡负载或扩容。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

- VID 类型变更与长度限制:

Expand Down
44 changes: 44 additions & 0 deletions docs-2.0/8.service-tuning/load-balance.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# Storage 负载均衡

<<<<<<< HEAD
用户可以使用`SUBMIT JOB BALANCE`语句平衡分片和 Raft leader 的分布,或者清空某些 Storage 服务器方便进行维护。详情请参见 [SUBMIT JOB BALANCE](../synchronization-and-migration/2.balance-syntax.md)。

!!! danger

`SUBMIT JOB BALANCE`命令通过创建和执行一组子任务来迁移数据和均衡分片分布,**禁止**停止集群中的任何机器或改变机器的 IP 地址,直到所有子任务完成,否则后续子任务会失败。
=======
用户可以使用`BALANCE`语句平衡分片和 Raft leader 的分布,或者清空某些 Storage 服务器方便进行维护。详情请参见 [BALANCE](../synchronization-and-migration/2.balance-syntax.md)。

!!! danger

`BALANCE`命令通过创建和执行一组子任务来迁移数据和均衡分片分布,**禁止**停止集群中的任何机器或改变机器的 IP 地址,直到所有子任务完成,否则后续子任务会失败。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

{{ ent.ent_begin }}

Expand All @@ -18,7 +26,11 @@

如果当前图空间已经有失败的均衡分片分布作业,无法开始新的均衡分片分布作业,只能恢复之前失败的作业。如果作业一直执行失败,可以先停止作业,再开始新的均衡分片分布作业。

<<<<<<< HEAD
`SUBMIT JOB BALANCE DATA`语句会开始一个作业,将当前图空间的分片平均分配到所有 Storage 服务器。通过创建和执行一组子任务来迁移数据和均衡分片分布。
=======
`BALANCE DATA`语句会开始一个作业,将当前图空间的分片平均分配到所有 Storage 服务器。通过创建和执行一组子任务来迁移数据和均衡分片分布。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

### 示例

Expand All @@ -36,11 +48,19 @@
+-----------------+------+----------+--------------+-----------------------+------------------------+-------------+
```

<<<<<<< HEAD
2. 进入图空间`basketballplayer`,然后执行命令`SUBMIT JOB BALANCE DATA`将所有分片均衡分布。

```ngql
nebula> USE basketballplayer;
nebula> SUBMIT JOB BALANCE DATA;
=======
2. 进入图空间`basketballplayer`,然后执行命令`BALANCE DATA`将所有分片均衡分布。

```ngql
nebula> USE basketballplayer;
nebula> BALANCE DATA;
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
+------------+
| New Job Id |
+------------+
Expand All @@ -64,7 +84,11 @@

!!! Note

<<<<<<< HEAD
`SUBMIT JOB BALANCE DATA`不会均衡 leader 的分布。均衡 leader 请参见[均衡 leader 分布](#leader)。
=======
`BALANCE DATA`不会均衡 leader 的分布。均衡 leader 请参见[均衡 leader 分布](#leader)。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

```ngql
nebula> SHOW HOSTS;
Expand Down Expand Up @@ -101,12 +125,20 @@

### 迁移分片

<<<<<<< HEAD
迁移指定的 Storage 主机中的分片来缩小集群规模,可以使用命令`SUBMIT JOB BALANCE DATA REMOVE <ip:port> [,<ip>:<port> ...]`。
=======
迁移指定的 Storage 主机中的分片来缩小集群规模,可以使用命令`BALANCE DATA REMOVE <ip:port> [,<ip>:<port> ...]`。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

例如需要迁移`192.168.8.100:9779`中的分片,请执行如下命令:

```ngql
<<<<<<< HEAD
nebula> SUBMIT JOB BALANCE DATA REMOVE 192.168.8.100:9779;
=======
nebula> BALANCE DATA REMOVE 192.168.8.100:9779;
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
nebula> SHOW HOSTS;
+-----------------+------+----------+--------------+-----------------------+------------------------+-------------+
| Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version |
Expand All @@ -125,7 +157,11 @@ nebula> SHOW HOSTS;
<!-- 下面是注释内容
!!! danger

<<<<<<< HEAD
`SUBMIT JOB BALANCE`命令通过创建和执行一组子任务来迁移数据和均衡分片分布,不要停止集群中的任何机器或改变机器的 IP 地址,直到所有子任务完成,否则后续子任务会失败。
=======
`BALANCE`命令通过创建和执行一组子任务来迁移数据和均衡分片分布,不要停止集群中的任何机器或改变机器的 IP 地址,直到所有子任务完成,否则后续子任务会失败。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

## 均衡分片分布

Expand Down Expand Up @@ -248,12 +284,20 @@ nebula> SHOW HOSTS;
-->
## 均衡 leader 分布

<<<<<<< HEAD
用户可以使用命令`SUBMIT JOB BALANCE LEADER`均衡 leader 分布。
=======
用户可以使用命令`BALANCE LEADER`均衡 leader 分布。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

### 示例

```ngql
<<<<<<< HEAD
nebula> SUBMIT JOB BALANCE LEADER;
=======
nebula> BALANCE LEADER;
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))
```

用户可以执行`SHOW HOSTS`检查结果。
Expand Down
4 changes: 4 additions & 0 deletions docs-2.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

!!! Note

<<<<<<< HEAD
本文档更新时间{{ now().year }}-{{ now().month }}-{{ now().day }},GitHub commit [{{ git.short_commit }}](https://github.com/vesoft-inc/nebula-docs/commits/v{{nebula.release}})。该版本主色系为"胶蓝",色号为 #66CCFF。
=======
本文档更新时间{{ now().year }}-{{ now().month }}-{{ now().day }},GitHub commit [{{ git.short_commit }}](https://github.com/vesoft-inc/nebula-docs/commits/v{{nebula.release}})。该版本主色系为"感性红",色号为 #F3A68C。
>>>>>>> a7074d38d (increment-changes-on-ent-docs (#2789))

<!--
!!! caution
Expand Down
Loading