Skip to content

Commit

Permalink
ticdc: using canal or maxwell protocol will not throw an exception (p…
Browse files Browse the repository at this point in the history
…ingcap#5457)

* Using canal or maxwell protocol will not throw an exception

* Update description

* correct format

Co-authored-by: sev7ndayyoo <47801637+sev7ndayyoo@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 23, 2021
1 parent 19277d8 commit 975ff4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ticdc/troubleshoot-ticdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ TiCDC 对大事务(大小超过 5 GB)提供部分支持,根据场景不同

## TiCDC 集群升级到 v4.0.8 之后,changefeed 报错 `[CDC:ErrKafkaInvalidConfig]Canal requires old value to be enabled`

自 v4.0.8 起,如果 changefeed 使用 canal 或者 canal-json 协议输出,TiCDC 会检查是否同时开启了 Old Value 功能。如果没开启则会报错。可以按照以下步骤解决该问题
自 v4.0.8 起,如果 changefeed 使用 canal 或者 maxwell 协议输出,TiCDC 会自动开启 Old Value 功能。但如果 TiCDC 是从较旧版本升级到 v4.0.8 或以上版本的,changefeed 使用 canal 或 maxwell 协议的同时 Old Value 功能被禁用,此时会出现该报错。可以按照以下步骤解决该报错

1. 将 changefeed 配置文件中 `enable-old-value` 的值设为 `true`
2. 使用 `cdc cli changefeed pause` 暂停同步任务。
Expand Down

0 comments on commit 975ff4c

Please sign in to comment.