Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.
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
4 changes: 1 addition & 3 deletions en/dm-manage-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ help operate-source
```

```
`create`/`update`/`stop`/`show` upstream MySQL/MariaDB source.
`create`/`stop`/`show` upstream MySQL/MariaDB source.

Usage:
dmctl operate-source <operate-type> [config-file ...] [--print-sample-config] [flags]
Expand All @@ -50,8 +50,6 @@ Global Flags:

+ `create`: Creates one or more upstream database source(s). When creating multiple data sources fails, DM rolls back to the state where the command was not executed.

+ `update`: Updates an upstream database source.

+ `stop`: Stops one or more upstream database source(s). When stopping multiple data sources fails, some data sources might be stopped.

+ `show`: Shows the added data source and the corresponding DM-worker.
Expand Down
2 changes: 1 addition & 1 deletion en/dmctl-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Available Commands:
offline-member Offlines member which has been closed.
operate-leader `evict`/`cancel-evict` the leader.
operate-schema `get`/`set`/`remove` the schema for an upstream table.
operate-source `create`/`update`/`stop`/`show` upstream MySQL/MariaDB source.
operate-source `create`/`stop`/`show` upstream MySQL/MariaDB source.
pause-relay Pauses DM-worker's relay unit.
pause-task Pauses a specified running task.
purge-relay Purges relay log files of the DM-worker according to the specified filename.
Expand Down
4 changes: 1 addition & 3 deletions zh/dm-manage-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ help operate-source
```

```
`create`/`update`/`stop`/`show` upstream MySQL/MariaDB source.
`create`/`stop`/`show` upstream MySQL/MariaDB source.

Usage:
dmctl operate-source <operate-type> [config-file ...] [--print-sample-config] [flags]
Expand All @@ -50,8 +50,6 @@ Global Flags:

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

+ `update`:更新一个上游的数据库源

+ `stop`:停止一个或多个上游的数据库源。停止多个数据源失败时,可能有部分数据源已成功停止

+ `show`:显示已添加的数据源以及对应的 DM-worker
Expand Down
2 changes: 1 addition & 1 deletion zh/dmctl-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Available Commands:
offline-member Offlines member which has been closed.
operate-leader `evict`/`cancel-evict` the leader.
operate-schema `get`/`set`/`remove` the schema for an upstream table.
operate-source `create`/`update`/`stop`/`show` upstream MySQL/MariaDB source.
operate-source `create`/`stop`/`show` upstream MySQL/MariaDB source.
pause-relay Pauses DM-worker's relay unit.
pause-task Pauses a specified running task.
purge-relay Purges relay log files of the DM-worker according to the specified filename.
Expand Down