Skip to content

Commit

Permalink
Update 2.balance-syntax.md (#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored Nov 15, 2022
1 parent 082b42a commit 07f7a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/synchronization-and-migration/2.balance-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

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

0 comments on commit 07f7a19

Please sign in to comment.