Skip to content

Commit 72af646

Browse files
Oreoxmtti-chi-bot
authored andcommitted
Remove operate-source update command
1 parent 1254dda commit 72af646

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

dm/dm-manage-source.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ help operate-source
3232
```
3333

3434
```
35-
`create`/`update`/`stop`/`show` upstream MySQL/MariaDB source.
35+
`create`/`stop`/`show` upstream MySQL/MariaDB source.
3636
3737
Usage:
3838
dmctl operate-source <operate-type> [config-file ...] [--print-sample-config] [flags]
@@ -49,8 +49,6 @@ Global Flags:
4949

5050
+ `create`:创建一个或多个上游的数据库源。创建多个数据源失败时,会尝试回滚到执行命令之前的状态
5151

52-
+ `update`:更新一个上游的数据库源
53-
5452
+ `stop`:停止一个或多个上游的数据库源。停止多个数据源失败时,可能有部分数据源已成功停止
5553

5654
+ `show`:显示已添加的数据源以及对应的 DM-worker

dm/dmctl-introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Available Commands:
5050
list-member Lists member information
5151
offline-member Offlines member which has been closed
5252
operate-leader `evict`/`cancel-evict` the leader
53-
operate-source `create`/`update`/`stop`/`show` upstream MySQL/MariaDB source
53+
operate-source `create`/`stop`/`show` upstream MySQL/MariaDB source
5454
pause-relay Pauses DM-worker's relay unit
5555
pause-task Pauses a specified running task or all (sub)tasks bound to a source
5656
purge-relay Purges relay log files of the DM-worker according to the specified filename
@@ -103,7 +103,7 @@ Available Commands:
103103
list-member Lists member information
104104
offline-member Offlines member which has been closed
105105
operate-leader `evict`/`cancel-evict` the leader
106-
operate-source `create`/`update`/`stop`/`show` upstream MySQL/MariaDB source
106+
operate-source `create`/`stop`/`show` upstream MySQL/MariaDB source
107107
pause-relay Pauses DM-worker's relay unit
108108
pause-task Pauses a specified running task or all (sub)tasks bound to a source
109109
purge-relay Purges relay log files of the DM-worker according to the specified filename

0 commit comments

Comments
 (0)