diff --git a/en/dm-manage-source.md b/en/dm-manage-source.md index 36a024da..c7a4cb76 100644 --- a/en/dm-manage-source.md +++ b/en/dm-manage-source.md @@ -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 [config-file ...] [--print-sample-config] [flags] @@ -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. diff --git a/en/dmctl-introduction.md b/en/dmctl-introduction.md index d5cb58a3..243a7087 100644 --- a/en/dmctl-introduction.md +++ b/en/dmctl-introduction.md @@ -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. diff --git a/zh/dm-manage-source.md b/zh/dm-manage-source.md index fc722379..b7def6ea 100644 --- a/zh/dm-manage-source.md +++ b/zh/dm-manage-source.md @@ -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 [config-file ...] [--print-sample-config] [flags] @@ -50,8 +50,6 @@ Global Flags: + `create`:创建一个或多个上游的数据库源。创建多个数据源失败时,会尝试回滚到执行命令之前的状态 -+ `update`:更新一个上游的数据库源 - + `stop`:停止一个或多个上游的数据库源。停止多个数据源失败时,可能有部分数据源已成功停止 + `show`:显示已添加的数据源以及对应的 DM-worker diff --git a/zh/dmctl-introduction.md b/zh/dmctl-introduction.md index 5236e1da..3a85551f 100644 --- a/zh/dmctl-introduction.md +++ b/zh/dmctl-introduction.md @@ -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.