Skip to content

Commit

Permalink
cdc: add upgrading section (#4499)
Browse files Browse the repository at this point in the history
* cdc: add upgrading section

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
  • Loading branch information
overvenus and TomShawn authored Sep 14, 2020
1 parent b08865d commit 49ace01
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions ticdc/manage-ticdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,30 @@ cdc server --pd=http://10.0.10.25:2379 --log-file=ticdc_3.log --addr=0.0.0.0:830
- `cert`: TiCDC 使用的证书文件路径,PEM 格式,可选。
- `key`: TiCDC 使用的证书密钥文件路径,PEM 格式,可选。

## 使用 TiUP 升级 TiCDC

本部分介绍如何使用 TiUP 来升级并开启 TiCDC 的集群。在以下例子中,假设需要将 TiCDC 和集群升级到 v4.0.6。

{{< copyable "shell-regular" >}}

```shell
tiup update --self && \
tiup update --all && \
tiup cluster upgrade <cluster-name> v4.0.6
```

### 升级的注意事项

* TiCDC v4.0.2 对 `changefeed` 的配置做了调整,请参阅[配置文件兼容注意事项](/ticdc/manage-ticdc.md#配置文件兼容性的注意事项)
* 升级期间遇到的问题及其解决办法,请参阅[使用 TiUP 升级 TiDB](/upgrade-tidb-using-tiup.md#5-升级-faq)

## 使用加密传输 (TLS) 功能

请参阅[为 TiDB 组件间通信开启加密传输](/enable-tls-between-components.md)

## 使用 `cdc cli` 工具来管理集群状态和数据同步

以下内容介绍如何使用 `cdc cli` 工具来管理集群状态和数据同步。在以下接口描述中,假设 PD 的监听 IP 地址为 `10.0.10.25`,端口为 `2379`
本部分介绍如何使用 `cdc cli` 工具来管理集群状态和数据同步。在以下接口描述中,假设 PD 的监听 IP 地址为 `10.0.10.25`,端口为 `2379`

### 管理 TiCDC 服务进程 (`capture`)

Expand Down Expand Up @@ -565,7 +582,7 @@ curl -X POST http://127.0.0.1:8300/capture/owner/move_table -d 'cf-id=cf060953-0

## 同步任务配置文件描述

以下内容详细介绍了同步任务的配置
本部分详细介绍了同步任务的配置

```toml
# 指定配置文件中涉及的库名、表名是否为大小写敏感
Expand Down

0 comments on commit 49ace01

Please sign in to comment.