Skip to content

Commit

Permalink
balance-leader-balances-all-the-leaders-within-all-spaces (#2708)
Browse files Browse the repository at this point in the history
Update docs-2.0/2.quick-start/6.cheatsheet-for-ngql-command.md
  • Loading branch information
abby-cyber authored Apr 12, 2023
1 parent 85f0e2f commit 668bb6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs-2.0/2.quick-start/6.cheatsheet-for-ngql-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
| 语法 | 说明 |
| :-------------------------------- | :----------------------------------------------------------- |
|`BALANCE LEADER`|在当前图空间内启动任务均衡分布 leader。该命令会返回任务 ID。|
|`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,方便进行维护。|
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/synchronization-and-migration/2.balance-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

|语法|说明|
|:---|:---|
|`BALANCE LEADER`|启动任务均衡分布当前图空间中的所有 leader。该命令会返回任务 ID(`job_id`)。|
|`BALANCE LEADER`|启动任务均衡分布所有图空间中的 leader。该命令会返回任务 ID(`job_id`)。|
<!-- balance-3.1
|`BALANCE DATA`|启动任务均衡分布当前图空间中的所有分片。该命令会返回任务 ID(`job_id`)。|
|`BALANCE DATA REMOVE <ip:port> [,<ip>:<port> ...]`|启动任务迁空当前图空间指定的 Storage 服务中的分片。|
Expand Down

0 comments on commit 668bb6b

Please sign in to comment.