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

balance-leader-balances-all-the-leaders-within-all-spaces #2709

Merged
merged 1 commit into from
Apr 7, 2023
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
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